codekingpro/portable-devtools
115k
1/*-------------------------------------------------------------------------2 *3 * scansup.h4 * scanner support routines used by the core lexer5 *6 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group7 * Portions Copyright (c) 1994, Regents of the University of California8 *9 * src/include/parser/scansup.h10 *11 *-------------------------------------------------------------------------12 */13 14#ifndef SCANSUP_H15#define SCANSUP_H16 17extern char *downcase_truncate_identifier(const char *ident, int len,18 bool warn);19 20extern char *downcase_identifier(const char *ident, int len,21 bool warn, bool truncate);22 23extern void truncate_identifier(char *ident, int len, bool warn);24 25extern bool scanner_isspace(char ch);26 27#endif /* SCANSUP_H */28 