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