2
0

scansup.h 777 B

123456789101112131415161718192021222324252627
  1. /*-------------------------------------------------------------------------
  2. *
  3. * scansup.h
  4. * scanner support routines used by the core lexer
  5. *
  6. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  7. * Portions Copyright (c) 1994, Regents of the University of California
  8. *
  9. * src/include/parser/scansup.h
  10. *
  11. *-------------------------------------------------------------------------
  12. */
  13. #ifndef SCANSUP_H
  14. #define SCANSUP_H
  15. extern char *downcase_truncate_identifier(const char *ident, int len,
  16. bool warn);
  17. extern char *downcase_identifier(const char *ident, int len,
  18. bool warn, bool truncate);
  19. extern void truncate_identifier(char *ident, int len, bool warn);
  20. extern bool scanner_isspace(char ch);
  21. #endif /* SCANSUP_H */