diff options
| author | Toby Goodwin <toby@paccrat.org> | 2016-09-15 21:39:41 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2017-04-17 22:01:02 +0100 |
| commit | a4eddefec148f98c790e390d80fbd69811da48c7 (patch) | |
| tree | 99979ee0c31a1a7317876601e20e9ebc4af938f1 /parse.h | |
| parent | d0ee32e585437b76f095379ec84fd753a5d30a3c (diff) | |
update parse.[ch]
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,7 +1,3 @@ -#ifndef YYERRCODE -#define YYERRCODE 256 -#endif - #define ANDAND 257 #define BACKBACK 258 #define BANG 259 @@ -26,6 +22,12 @@ #define WHILE 278 #define WORD 279 #define HUH 280 +#ifdef YYSTYPE +#undef YYSTYPE_IS_DECLARED +#define YYSTYPE_IS_DECLARED 1 +#endif +#ifndef YYSTYPE_IS_DECLARED +#define YYSTYPE_IS_DECLARED 1 typedef union { struct Node *node; struct Redir redir; @@ -34,4 +36,5 @@ typedef union { struct Word word; char *keyword; } YYSTYPE; +#endif /* !YYSTYPE_IS_DECLARED */ extern YYSTYPE yylval; |