diff options
Diffstat (limited to 'src/include/parser/gramparse.h')
-rw-r--r-- | src/include/parser/gramparse.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/include/parser/gramparse.h b/src/include/parser/gramparse.h index 02c95745fee..54d6e869ad9 100644 --- a/src/include/parser/gramparse.h +++ b/src/include/parser/gramparse.h @@ -1,28 +1,31 @@ /*------------------------------------------------------------------------- * * gramparse.h - * scanner support routines. used by both the bootstrap lexer - * as well as the normal lexer + * Declarations for routines exported from lexer and parser files. + * * * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: gramparse.h,v 1.12 2000/04/12 17:16:44 momjian Exp $ + * $Id: gramparse.h,v 1.13 2000/09/12 21:07:12 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef GRAMPARSE_H -#define GRAMPARSE_H /* include once only */ +#define GRAMPARSE_H -/* from scan.l */ -extern void init_io(void); +/* from parser.c */ extern int yylex(void); + +/* from scan.l */ +extern void scanner_init(void); +extern int base_yylex(void); extern void yyerror(const char *message); /* from gram.y */ -extern Oid param_type(int t); extern void parser_init(Oid *typev, int nargs); +extern Oid param_type(int t); extern int yyparse(void); #endif /* GRAMPARSE_H */ |