1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* scansup.h
|
1997-09-07 01:04:48 -04:00
|
|
|
* scanner support routines. used by both the bootstrap lexer
|
1996-07-09 02:22:35 -04:00
|
|
|
* as well as the normal lexer
|
|
|
|
|
*
|
2006-03-05 10:59:11 -05:00
|
|
|
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
2000-01-26 00:58:53 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
2006-09-22 17:39:58 -04:00
|
|
|
* $PostgreSQL: pgsql/src/include/parser/scansup.h,v 1.20 2006/09/22 21:39:58 tgl Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
|
1997-11-25 20:14:33 -05:00
|
|
|
#ifndef SCANSUP_H
|
|
|
|
|
#define SCANSUP_H
|
|
|
|
|
|
2004-02-20 19:34:53 -05:00
|
|
|
extern char *scanstr(const char *s);
|
|
|
|
|
|
|
|
|
|
extern char *downcase_truncate_identifier(const char *ident, int len,
|
2004-08-29 01:07:03 -04:00
|
|
|
bool warn);
|
2004-02-20 19:34:53 -05:00
|
|
|
|
|
|
|
|
extern void truncate_identifier(char *ident, int len, bool warn);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2006-09-22 17:39:58 -04:00
|
|
|
extern bool scanner_isspace(char ch);
|
|
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* SCANSUP_H */
|