X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser_proc.h;h=c6fe15a6c4484c3773d013ccdefb3e1f0af8a933;hp=62530ca3da033ed9cf717dae68d9b88428721d28;hb=6a459a08a40a2c243b0211ceb0cb263d29302627;hpb=14c98cac21b8102d1d4c2a57744f6976ea3a0849 diff --git a/src/parser_proc.h b/src/parser_proc.h index 62530ca..c6fe15a 100644 --- a/src/parser_proc.h +++ b/src/parser_proc.h @@ -1,59 +1,73 @@ #define PSI_T_NAME 1 -#define PSI_T_FREE 2 -#define PSI_T_SET 3 -#define PSI_T_LET 4 -#define PSI_T_RETURN 5 -#define PSI_T_LIB 6 -#define PSI_T_INT 7 -#define PSI_T_UNSIGNED 8 -#define PSI_T_EOF 9 -#define PSI_T_QUOTED_STRING 10 -#define PSI_T_EOS 11 -#define PSI_T_STRUCT 12 -#define PSI_T_LBRACE 13 -#define PSI_T_RBRACE 14 -#define PSI_T_COLON 15 -#define PSI_T_LPAREN 16 -#define PSI_T_NUMBER 17 -#define PSI_T_RPAREN 18 -#define PSI_T_BOOL 19 -#define PSI_T_FLOAT 20 -#define PSI_T_STRING 21 -#define PSI_T_CONST 22 -#define PSI_T_NSNAME 23 -#define PSI_T_EQUALS 24 -#define PSI_T_TYPEDEF 25 -#define PSI_T_VOID 26 -#define PSI_T_LBRACKET 27 -#define PSI_T_RBRACKET 28 -#define PSI_T_COMMA 29 -#define PSI_T_DOUBLE 30 -#define PSI_T_INT8 31 -#define PSI_T_UINT8 32 -#define PSI_T_INT16 33 -#define PSI_T_UINT16 34 -#define PSI_T_INT32 35 -#define PSI_T_UINT32 36 -#define PSI_T_INT64 37 -#define PSI_T_UINT64 38 -#define PSI_T_FUNCTION 39 -#define PSI_T_REFERENCE 40 -#define PSI_T_NULL 41 -#define PSI_T_TRUE 42 -#define PSI_T_FALSE 43 -#define PSI_T_DOLLAR 44 -#define PSI_T_CALLOC 45 -#define PSI_T_ARRVAL 46 -#define PSI_T_STRLEN 47 -#define PSI_T_STRVAL 48 -#define PSI_T_FLOATVAL 49 -#define PSI_T_INTVAL 50 -#define PSI_T_BOOLVAL 51 -#define PSI_T_TO_ARRAY 52 -#define PSI_T_TO_STRING 53 -#define PSI_T_TO_INT 54 -#define PSI_T_TO_FLOAT 55 -#define PSI_T_TO_BOOL 56 -#define PSI_T_MIXED 57 -#define PSI_T_ARRAY 58 -#define PSI_T_POINTER 59 +#define PSI_T_PLUS 2 +#define PSI_T_MINUS 3 +#define PSI_T_SLASH 4 +#define PSI_T_ASTERISK 5 +#define PSI_T_TEMP 6 +#define PSI_T_FREE 7 +#define PSI_T_SET 8 +#define PSI_T_LET 9 +#define PSI_T_RETURN 10 +#define PSI_T_LIB 11 +#define PSI_T_STRING 12 +#define PSI_T_EOF 13 +#define PSI_T_EOS 14 +#define PSI_T_QUOTED_STRING 15 +#define PSI_T_ENUM 16 +#define PSI_T_LBRACE 17 +#define PSI_T_RBRACE 18 +#define PSI_T_COMMA 19 +#define PSI_T_EQUALS 20 +#define PSI_T_STRUCT 21 +#define PSI_T_COLON 22 +#define PSI_T_LPAREN 23 +#define PSI_T_NUMBER 24 +#define PSI_T_RPAREN 25 +#define PSI_T_BOOL 26 +#define PSI_T_INT 27 +#define PSI_T_FLOAT 28 +#define PSI_T_CONST 29 +#define PSI_T_NSNAME 30 +#define PSI_T_TYPEDEF 31 +#define PSI_T_VOID 32 +#define PSI_T_LBRACKET 33 +#define PSI_T_RBRACKET 34 +#define PSI_T_ELLIPSIS 35 +#define PSI_T_CHAR 36 +#define PSI_T_SHORT 37 +#define PSI_T_LONG 38 +#define PSI_T_DOUBLE 39 +#define PSI_T_UNSIGNED 40 +#define PSI_T_SIGNED 41 +#define PSI_T_INT8 42 +#define PSI_T_UINT8 43 +#define PSI_T_INT16 44 +#define PSI_T_UINT16 45 +#define PSI_T_INT32 46 +#define PSI_T_UINT32 47 +#define PSI_T_INT64 48 +#define PSI_T_UINT64 49 +#define PSI_T_FUNCTION 50 +#define PSI_T_NULL 51 +#define PSI_T_TRUE 52 +#define PSI_T_FALSE 53 +#define PSI_T_DOLLAR 54 +#define PSI_T_CALLOC 55 +#define PSI_T_OBJVAL 56 +#define PSI_T_ARRVAL 57 +#define PSI_T_PATHVAL 58 +#define PSI_T_STRLEN 59 +#define PSI_T_STRVAL 60 +#define PSI_T_FLOATVAL 61 +#define PSI_T_INTVAL 62 +#define PSI_T_BOOLVAL 63 +#define PSI_T_TO_OBJECT 64 +#define PSI_T_TO_ARRAY 65 +#define PSI_T_TO_STRING 66 +#define PSI_T_TO_INT 67 +#define PSI_T_TO_FLOAT 68 +#define PSI_T_TO_BOOL 69 +#define PSI_T_MIXED 70 +#define PSI_T_ARRAY 71 +#define PSI_T_OBJECT 72 +#define PSI_T_AMPERSAND 73