summaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/preproc/extern.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/preproc/extern.h')
-rw-r--r--src/interfaces/ecpg/preproc/extern.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/preproc/extern.h b/src/interfaces/ecpg/preproc/extern.h
index 96c7bc0ed3..7b59e14cd5 100644
--- a/src/interfaces/ecpg/preproc/extern.h
+++ b/src/interfaces/ecpg/preproc/extern.h
@@ -2,8 +2,7 @@
/* variables */
-extern int debugging,
- braces_open;
+extern int braces_open;
extern char *yytext;
extern int yylineno,
yyleng;
@@ -23,6 +22,18 @@ struct cursor { char *name;
extern struct cursor *cur;
+/* This is a linked list of the variable names and types. */
+struct variable
+{
+ char * name;
+ struct ECPGtype * type;
+ int brace_level;
+ struct variable * next;
+};
+
+extern struct ECPGtype ecpg_no_indicator;
+extern struct variable no_indicator;
+
/* functions */
extern void lex_init(void);