diff options
| author | Toby Goodwin <LibreSoftwareDesign@gmail.com> | 2012-10-01 20:46:40 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:24 +0100 |
| commit | c8a77b86b4f8c91314222a8e12e6e37cf182ee10 (patch) | |
| tree | 770041514630af2c076e5115b3543b7f5ced1d24 /parse.h | |
| parent | 27c900d6ae9cd0dcf4bc97bc9b8c1882e40ccfa8 (diff) | |
initial commit
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -0,0 +1,37 @@ +#ifndef YYERRCODE +#define YYERRCODE 256 +#endif + +#define ANDAND 257 +#define BACKBACK 258 +#define BANG 259 +#define CASE 260 +#define COUNT 261 +#define DUP 262 +#define ELSE 263 +#define END 264 +#define FLAT 265 +#define FN 266 +#define FOR 267 +#define IF 268 +#define IN 269 +#define OROR 270 +#define PIPE 271 +#define REDIR 272 +#define SREDIR 273 +#define SUB 274 +#define SUBSHELL 275 +#define SWITCH 276 +#define TWIDDLE 277 +#define WHILE 278 +#define WORD 279 +#define HUH 280 +typedef union { + struct Node *node; + struct Redir redir; + struct Pipe pipe; + struct Dup dup; + struct Word word; + char *keyword; +} YYSTYPE; +extern YYSTYPE yylval; |