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