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