flush
[m6w6/ext-psi] / src / parser_proc.h
index b025185ad23ce04235e07867141a24a20f0dc5b6..f5bea5710491e5d607406b4cbf2a6aed8de82c19 100644 (file)
@@ -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_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_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_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_NUMBER                          15
+#define PSI_T_RPAREN                          16
+#define PSI_T_BOOL                            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