diff options
author | Marc G. Fournier <scrappy@hub.org> | 1998-04-21 13:23:24 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1998-04-21 13:23:24 +0000 |
commit | 64e35e1468e1b4d24c980e63e568cf1f54c7057b (patch) | |
tree | bab54f1313a885316ac01f4cf44cf0e1571b5163 /src/interfaces/ecpg/preproc/extern.h | |
parent | 5e6b0a574b38debb3a1b5879f6800d2818f9e5a8 (diff) | |
download | postgresql-64e35e1468e1b4d24c980e63e568cf1f54c7057b.tar.gz postgresql-64e35e1468e1b4d24c980e63e568cf1f54c7057b.zip |
Upgrade ECPG to 2.0
Michael Meskes <meskes@topsystem.de>
Diffstat (limited to 'src/interfaces/ecpg/preproc/extern.h')
-rw-r--r-- | src/interfaces/ecpg/preproc/extern.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/interfaces/ecpg/preproc/extern.h b/src/interfaces/ecpg/preproc/extern.h index 53da42cfb12..96c7bc0ed30 100644 --- a/src/interfaces/ecpg/preproc/extern.h +++ b/src/interfaces/ecpg/preproc/extern.h @@ -1,3 +1,5 @@ +#include "parser/keywords.h" + /* variables */ extern int debugging, @@ -14,9 +16,19 @@ struct _include_path { char * path; extern struct _include_path *include_paths; +struct cursor { char *name; + char *command; + struct cursor *next; + }; + +extern struct cursor *cur; + /* functions */ extern void lex_init(void); extern char *input_filename; extern int yyparse(void); extern void *mm_alloc(size_t), *mm_realloc(void *, size_t); +ScanKeyword * ScanECPGKeywordLookup(char *); +ScanKeyword * ScanCKeywordLookup(char *); +extern void yyerror(char *); |