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