File: parse.h

package info (click to toggle)
rc 1.7.1-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 856 kB
  • ctags: 814
  • sloc: ansic: 7,121; sh: 714; yacc: 124; makefile: 94
file content (37 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (6)
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
29
30
31
32
33
34
35
36
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;