build: PHP<7.2 compatibility
[m6w6/ext-psi] / src / parser_proc.h
index 8d6d70cc099f50a4754610bbe5f64bd1b6551f0b..0da603695f09d61d3cf053c32342fed81be6c6de 100644 (file)
@@ -1,83 +1,96 @@
-#define PSI_T_NAME                             1
-#define PSI_T_LSHIFT                           2
-#define PSI_T_RSHIFT                           3
-#define PSI_T_PLUS                             4
-#define PSI_T_MINUS                            5
-#define PSI_T_ASTERISK                         6
-#define PSI_T_SLASH                            7
-#define PSI_T_AMPERSAND                        8
-#define PSI_T_CARET                            9
-#define PSI_T_PIPE                            10
-#define PSI_T_TEMP                            11
-#define PSI_T_FREE                            12
-#define PSI_T_SET                             13
-#define PSI_T_LET                             14
-#define PSI_T_RETURN                          15
-#define PSI_T_CALLOC                          16
-#define PSI_T_CALLBACK                        17
-#define PSI_T_ZVAL                            18
-#define PSI_T_LIB                             19
-#define PSI_T_STRING                          20
-#define PSI_T_COUNT                           21
-#define PSI_T_BOOL                            22
-#define PSI_T_INT                             23
-#define PSI_T_FLOAT                           24
-#define PSI_T_DOUBLE                          25
-#define PSI_T_INT8                            26
-#define PSI_T_UINT8                           27
-#define PSI_T_INT16                           28
-#define PSI_T_UINT16                          29
-#define PSI_T_INT32                           30
-#define PSI_T_UINT32                          31
-#define PSI_T_INT64                           32
-#define PSI_T_UINT64                          33
-#define PSI_T_NULL                            34
-#define PSI_T_NUMBER                          35
-#define PSI_T_TRUE                            36
-#define PSI_T_FALSE                           37
-#define PSI_T_QUOTED_STRING                   38
-#define PSI_T_NSNAME                          39
-#define PSI_T_OBJVAL                          40
-#define PSI_T_ARRVAL                          41
-#define PSI_T_PATHVAL                         42
-#define PSI_T_STRLEN                          43
-#define PSI_T_STRVAL                          44
-#define PSI_T_FLOATVAL                        45
-#define PSI_T_INTVAL                          46
-#define PSI_T_BOOLVAL                         47
-#define PSI_T_TO_OBJECT                       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_VOID                            54
-#define PSI_T_MIXED                           55
-#define PSI_T_ARRAY                           56
-#define PSI_T_OBJECT                          57
-#define PSI_T_CALLABLE                        58
-#define PSI_T_EOF                             59
-#define PSI_T_EOS                             60
-#define PSI_T_COLON                           61
-#define PSI_T_LPAREN                          62
-#define PSI_T_COMMA                           63
-#define PSI_T_RPAREN                          64
-#define PSI_T_ENUM                            65
-#define PSI_T_STRUCT                          66
-#define PSI_T_UNION                           67
-#define PSI_T_LBRACE                          68
-#define PSI_T_RBRACE                          69
-#define PSI_T_EQUALS                          70
-#define PSI_T_CONST                           71
-#define PSI_T_TYPEDEF                         72
-#define PSI_T_ELLIPSIS                        73
-#define PSI_T_LBRACKET                        74
-#define PSI_T_RBRACKET                        75
-#define PSI_T_CHAR                            76
-#define PSI_T_SHORT                           77
-#define PSI_T_LONG                            78
-#define PSI_T_UNSIGNED                        79
-#define PSI_T_SIGNED                          80
-#define PSI_T_STATIC                          81
-#define PSI_T_FUNCTION                        82
-#define PSI_T_DOLLAR_NAME                     83
+#define PSI_T_BOOL                             1
+#define PSI_T_INT                              2
+#define PSI_T_FLOAT                            3
+#define PSI_T_STRING                           4
+#define PSI_T_DOUBLE                           5
+#define PSI_T_INT8                             6
+#define PSI_T_UINT8                            7
+#define PSI_T_INT16                            8
+#define PSI_T_UINT16                           9
+#define PSI_T_INT32                           10
+#define PSI_T_UINT32                          11
+#define PSI_T_INT64                           12
+#define PSI_T_UINT64                          13
+#define PSI_T_NAME                            14
+#define PSI_T_NULL                            15
+#define PSI_T_NUMBER                          16
+#define PSI_T_TRUE                            17
+#define PSI_T_FALSE                           18
+#define PSI_T_QUOTED_STRING                   19
+#define PSI_T_NSNAME                          20
+#define PSI_T_PIPE                            21
+#define PSI_T_CARET                           22
+#define PSI_T_AMPERSAND                       23
+#define PSI_T_LSHIFT                          24
+#define PSI_T_RSHIFT                          25
+#define PSI_T_PLUS                            26
+#define PSI_T_MINUS                           27
+#define PSI_T_ASTERISK                        28
+#define PSI_T_SLASH                           29
+#define PSI_T_MODULO                          30
+#define PSI_T_RCHEVR                          31
+#define PSI_T_LCHEVR                          32
+#define PSI_T_CMP_GE                          33
+#define PSI_T_CMP_LE                          34
+#define PSI_T_OR                              35
+#define PSI_T_AND                             36
+#define PSI_T_CMP_EQ                          37
+#define PSI_T_CMP_NE                          38
+#define PSI_T_TILDE                           39
+#define PSI_T_NOT                             40
+#define PSI_T_ZVAL                            41
+#define PSI_T_OBJVAL                          42
+#define PSI_T_ARRVAL                          43
+#define PSI_T_PATHVAL                         44
+#define PSI_T_STRLEN                          45
+#define PSI_T_STRVAL                          46
+#define PSI_T_FLOATVAL                        47
+#define PSI_T_INTVAL                          48
+#define PSI_T_BOOLVAL                         49
+#define PSI_T_COUNT                           50
+#define PSI_T_TO_OBJECT                       51
+#define PSI_T_TO_ARRAY                        52
+#define PSI_T_TO_STRING                       53
+#define PSI_T_TO_INT                          54
+#define PSI_T_TO_FLOAT                        55
+#define PSI_T_TO_BOOL                         56
+#define PSI_T_VOID                            57
+#define PSI_T_MIXED                           58
+#define PSI_T_ARRAY                           59
+#define PSI_T_OBJECT                          60
+#define PSI_T_CALLABLE                        61
+#define PSI_T_PRE_ASSERT                      62
+#define PSI_T_POST_ASSERT                     63
+#define PSI_T_TEMP                            64
+#define PSI_T_FREE                            65
+#define PSI_T_SET                             66
+#define PSI_T_LET                             67
+#define PSI_T_RETURN                          68
+#define PSI_T_CALLOC                          69
+#define PSI_T_CALLBACK                        70
+#define PSI_T_LIB                             71
+#define PSI_T_EOF                             72
+#define PSI_T_EOS                             73
+#define PSI_T_COLON                           74
+#define PSI_T_LPAREN                          75
+#define PSI_T_COMMA                           76
+#define PSI_T_RPAREN                          77
+#define PSI_T_ENUM                            78
+#define PSI_T_STRUCT                          79
+#define PSI_T_UNION                           80
+#define PSI_T_LBRACE                          81
+#define PSI_T_RBRACE                          82
+#define PSI_T_EQUALS                          83
+#define PSI_T_CONST                           84
+#define PSI_T_TYPEDEF                         85
+#define PSI_T_ELLIPSIS                        86
+#define PSI_T_LBRACKET                        87
+#define PSI_T_RBRACKET                        88
+#define PSI_T_CHAR                            89
+#define PSI_T_SHORT                           90
+#define PSI_T_LONG                            91
+#define PSI_T_UNSIGNED                        92
+#define PSI_T_SIGNED                          93
+#define PSI_T_STATIC                          94
+#define PSI_T_FUNCTION                        95
+#define PSI_T_DOLLAR_NAME                     96