build: PHP<7.2 compatibility
[m6w6/ext-psi] / src / parser_proc.h
index 2acef5ad37c974ee2f63d1ab9441ac6ec19b55e6..0da603695f09d61d3cf053c32342fed81be6c6de 100644 (file)
@@ -1,77 +1,96 @@
-#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_CALLOC                          11
-#define PSI_T_CALLBACK                        12
-#define PSI_T_ZVAL                            13
-#define PSI_T_LIB                             14
-#define PSI_T_STRING                          15
-#define PSI_T_BOOL                            16
-#define PSI_T_INT                             17
-#define PSI_T_FLOAT                           18
-#define PSI_T_DOUBLE                          19
-#define PSI_T_INT8                            20
-#define PSI_T_UINT8                           21
-#define PSI_T_INT16                           22
-#define PSI_T_UINT16                          23
-#define PSI_T_INT32                           24
-#define PSI_T_UINT32                          25
-#define PSI_T_INT64                           26
-#define PSI_T_UINT64                          27
-#define PSI_T_NULL                            28
-#define PSI_T_NUMBER                          29
-#define PSI_T_TRUE                            30
-#define PSI_T_FALSE                           31
-#define PSI_T_QUOTED_STRING                   32
-#define PSI_T_NSNAME                          33
-#define PSI_T_OBJVAL                          34
-#define PSI_T_ARRVAL                          35
-#define PSI_T_PATHVAL                         36
-#define PSI_T_STRLEN                          37
-#define PSI_T_STRVAL                          38
-#define PSI_T_FLOATVAL                        39
-#define PSI_T_INTVAL                          40
-#define PSI_T_BOOLVAL                         41
-#define PSI_T_TO_OBJECT                       42
-#define PSI_T_TO_ARRAY                        43
-#define PSI_T_TO_STRING                       44
-#define PSI_T_TO_INT                          45
-#define PSI_T_TO_FLOAT                        46
-#define PSI_T_TO_BOOL                         47
-#define PSI_T_VOID                            48
-#define PSI_T_MIXED                           49
-#define PSI_T_ARRAY                           50
-#define PSI_T_OBJECT                          51
-#define PSI_T_CALLABLE                        52
-#define PSI_T_EOF                             53
-#define PSI_T_EOS                             54
-#define PSI_T_ENUM                            55
-#define PSI_T_LBRACE                          56
-#define PSI_T_RBRACE                          57
-#define PSI_T_COMMA                           58
-#define PSI_T_EQUALS                          59
-#define PSI_T_UNION                           60
-#define PSI_T_STRUCT                          61
-#define PSI_T_COLON                           62
-#define PSI_T_LPAREN                          63
-#define PSI_T_RPAREN                          64
-#define PSI_T_CONST                           65
-#define PSI_T_TYPEDEF                         66
-#define PSI_T_LBRACKET                        67
-#define PSI_T_RBRACKET                        68
-#define PSI_T_ELLIPSIS                        69
-#define PSI_T_CHAR                            70
-#define PSI_T_SHORT                           71
-#define PSI_T_LONG                            72
-#define PSI_T_UNSIGNED                        73
-#define PSI_T_SIGNED                          74
-#define PSI_T_FUNCTION                        75
-#define PSI_T_DOLLAR_NAME                     76
-#define PSI_T_AMPERSAND                       77
+#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