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