1996-11-08 21:46:33 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* gramparse.h--
|
|
|
|
* scanner support routines. used by both the bootstrap lexer
|
|
|
|
* as well as the normal lexer
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1996-11-10 04:06:38 +01:00
|
|
|
* $Id: gramparse.h,v 1.2 1996/11/10 03:05:41 momjian Exp $
|
1996-11-08 21:46:33 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GRAMPARSE_H
|
|
|
|
#define GRAMPARSE_H /* include once only */
|
|
|
|
|
|
|
|
/* from scan.l */
|
1996-11-10 04:06:38 +01:00
|
|
|
extern void init_io(void);
|
1996-11-08 21:46:33 +01:00
|
|
|
|
|
|
|
/* from gram.y */
|
|
|
|
extern void parser_init(Oid *typev, int nargs);
|
1996-11-10 04:06:38 +01:00
|
|
|
extern int yyparse(void);
|
1996-11-08 21:46:33 +01:00
|
|
|
|
|
|
|
#endif /* GRAMPARSE_H */
|