X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser_proc.h;h=95f18213ae07a1ef304cc5e604156ab081d16565;hp=b025185ad23ce04235e07867141a24a20f0dc5b6;hb=469fe3395cb9696e32bcd64639f22113d8fb2ec6;hpb=762750b4a3f4e0471993849c4bd12965f6b62356 diff --git a/src/parser_proc.h b/src/parser_proc.h index b025185..95f1821 100644 --- a/src/parser_proc.h +++ b/src/parser_proc.h @@ -1,55 +1,58 @@ -#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_COMMA 16 -#define PSI_T_VOID 17 -#define PSI_T_CHAR 18 -#define PSI_T_SHORT 19 -#define PSI_T_LONG 20 -#define PSI_T_DOUBLE 21 -#define PSI_T_SINT8 22 -#define PSI_T_UINT8 23 -#define PSI_T_SINT16 24 -#define PSI_T_UINT16 25 -#define PSI_T_SINT32 26 -#define PSI_T_UINT32 27 -#define PSI_T_SINT64 28 -#define PSI_T_UINT64 29 -#define PSI_T_LBRACE 30 -#define PSI_T_RBRACE 31 -#define PSI_T_FUNCTION 32 -#define PSI_T_COLON 33 -#define PSI_T_REFERENCE 34 -#define PSI_T_NULL 35 -#define PSI_T_NUMBER 36 +#define PSI_T_NAME 1 +#define PSI_T_COMMENT 2 +#define PSI_T_LIB 3 +#define PSI_T_QUOTED_STRING 4 +#define PSI_T_EOS 5 +#define PSI_T_STRUCT 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_DOUBLE 24 +#define PSI_T_INT8 25 +#define PSI_T_UINT8 26 +#define PSI_T_INT16 27 +#define PSI_T_UINT16 28 +#define PSI_T_INT32 29 +#define PSI_T_UINT32 30 +#define PSI_T_INT64 31 +#define PSI_T_UINT64 32 +#define PSI_T_FUNCTION 33 +#define PSI_T_COLON 34 +#define PSI_T_REFERENCE 35 +#define PSI_T_NULL 36 #define PSI_T_TRUE 37 #define PSI_T_FALSE 38 #define PSI_T_DOLLAR 39 #define PSI_T_LET 40 -#define PSI_T_STRLEN 41 -#define PSI_T_STRVAL 42 -#define PSI_T_INTVAL 43 -#define PSI_T_FLOATVAL 44 -#define PSI_T_BOOLVAL 45 -#define PSI_T_SET 46 -#define PSI_T_TO_STRING 47 -#define PSI_T_TO_INT 48 -#define PSI_T_TO_FLOAT 49 -#define PSI_T_TO_BOOL 50 -#define PSI_T_RETURN 51 -#define PSI_T_FREE 52 -#define PSI_T_MIXED 53 -#define PSI_T_ARRAY 54 -#define PSI_T_POINTER 55 +#define PSI_T_CALLOC 41 +#define PSI_T_STRLEN 42 +#define PSI_T_STRVAL 43 +#define PSI_T_INTVAL 44 +#define PSI_T_FLOATVAL 45 +#define PSI_T_BOOLVAL 46 +#define PSI_T_ARRVAL 47 +#define PSI_T_SET 48 +#define PSI_T_TO_ARRAY 49 +#define PSI_T_TO_STRING 50 +#define PSI_T_TO_INT 51 +#define PSI_T_TO_FLOAT 52 +#define PSI_T_TO_BOOL 53 +#define PSI_T_RETURN 54 +#define PSI_T_FREE 55 +#define PSI_T_MIXED 56 +#define PSI_T_ARRAY 57 +#define PSI_T_POINTER 58