aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/gramparse.h
blob: 5f4e5a6af76a09a3684ad1851c42c107af8e2fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*-------------------------------------------------------------------------
 *
 * gramparse.h
 *	  scanner support routines.  used by both the bootstrap lexer
 * as well as the normal lexer
 *
 * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * $Id: gramparse.h,v 1.11 2000/01/26 05:58:26 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */

#ifndef GRAMPARSE_H
#define GRAMPARSE_H				/* include once only */

/* from scan.l */
extern void init_io(void);
extern int	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 int	yyparse(void);

#endif	 /* GRAMPARSE_H */