1 /* sym.h 4.1 82/05/07 */ 2 3 # 4 /* 5 * UNIX shell 6 */ 7 8 9 /* symbols for parsing */ 10 #define DOSYM 0405 11 #define FISYM 0420 12 #define EFSYM 0422 13 #define ELSYM 0421 14 #define INSYM 0412 15 #define BRSYM 0406 16 #define KTSYM 0450 17 #define THSYM 0444 18 #define ODSYM 0441 19 #define ESSYM 0442 20 #define IFSYM 0436 21 #define FORSYM 0435 22 #define WHSYM 0433 23 #define UNSYM 0427 24 #define CASYM 0417 25 26 #define SYMREP 04000 27 #define ECSYM (SYMREP|';') 28 #define ANDFSYM (SYMREP|'&') 29 #define ORFSYM (SYMREP|'|') 30 #define APPSYM (SYMREP|'>') 31 #define DOCSYM (SYMREP|'<') 32 #define EOFSYM 02000 33 #define SYMFLG 0400 34 35 /* arg to `cmd' */ 36 #define NLFLG 1 37 #define MTFLG 2 38 39 /* for peekc */ 40 #define MARK 0100000 41 42 /* odd chars */ 43 #define DQUOTE '"' 44 #define SQUOTE '`' 45 #define LITERAL '\'' 46 #define DOLLAR '$' 47 #define ESCAPE '\\' 48 #define BRACE '{' 49