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