1996-11-08 21:46:33 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* gramparse.h
|
1997-09-07 07:04:48 +02:00
|
|
|
* scanner support routines. used by both the bootstrap lexer
|
1996-11-08 21:46:33 +01:00
|
|
|
* as well as the normal lexer
|
|
|
|
*
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-11-08 21:46:33 +01:00
|
|
|
*
|
2000-01-26 06:58:53 +01:00
|
|
|
* $Id: gramparse.h,v 1.11 2000/01/26 05:58:26 momjian Exp $
|
1996-11-08 21:46:33 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GRAMPARSE_H
|
1997-09-07 07:04:48 +02:00
|
|
|
#define GRAMPARSE_H /* include once only */
|
1996-11-08 21:46:33 +01:00
|
|
|
|
|
|
|
/* from scan.l */
|
1997-09-08 04:41:22 +02:00
|
|
|
extern void init_io(void);
|
2000-01-20 06:26:54 +01:00
|
|
|
extern int yylex(void);
|
|
|
|
extern void yyerror(const char * message);
|
1996-11-08 21:46:33 +01:00
|
|
|
|
|
|
|
/* from gram.y */
|
1998-02-26 05:46:47 +01:00
|
|
|
extern Oid param_type(int t);
|
1997-09-08 23:56:23 +02:00
|
|
|
extern void parser_init(Oid *typev, int nargs);
|
1997-09-08 04:41:22 +02:00
|
|
|
extern int yyparse(void);
|
1996-11-08 21:46:33 +01:00
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* GRAMPARSE_H */
|