make CALLOC a fallback NAME
authorMichael Wallner <mike@php.net>
Thu, 4 Feb 2016 12:09:01 +0000 (13:09 +0100)
committerMichael Wallner <mike@php.net>
Thu, 4 Feb 2016 12:09:01 +0000 (13:09 +0100)
src/parser_proc.h
src/parser_proc.y

index 47239e82b5e66f1bef60fb1cf1715c57cccf8f60..398012574a37cb3273bfc7530c4f07093c659255 100644 (file)
@@ -8,52 +8,52 @@
 #define PSI_T_SET                              8
 #define PSI_T_LET                              9
 #define PSI_T_RETURN                          10
-#define PSI_T_LIB                             11
-#define PSI_T_STRING                          12
-#define PSI_T_EOF                             13
-#define PSI_T_EOS                             14
-#define PSI_T_QUOTED_STRING                   15
-#define PSI_T_ENUM                            16
-#define PSI_T_LBRACE                          17
-#define PSI_T_RBRACE                          18
-#define PSI_T_COMMA                           19
-#define PSI_T_EQUALS                          20
-#define PSI_T_UNION                           21
-#define PSI_T_STRUCT                          22
-#define PSI_T_COLON                           23
-#define PSI_T_LPAREN                          24
-#define PSI_T_NUMBER                          25
-#define PSI_T_RPAREN                          26
-#define PSI_T_BOOL                            27
-#define PSI_T_INT                             28
-#define PSI_T_FLOAT                           29
-#define PSI_T_CONST                           30
-#define PSI_T_NSNAME                          31
-#define PSI_T_TYPEDEF                         32
-#define PSI_T_VOID                            33
-#define PSI_T_LBRACKET                        34
-#define PSI_T_RBRACKET                        35
-#define PSI_T_ELLIPSIS                        36
-#define PSI_T_CHAR                            37
-#define PSI_T_SHORT                           38
-#define PSI_T_LONG                            39
-#define PSI_T_DOUBLE                          40
-#define PSI_T_UNSIGNED                        41
-#define PSI_T_SIGNED                          42
-#define PSI_T_INT8                            43
-#define PSI_T_UINT8                           44
-#define PSI_T_INT16                           45
-#define PSI_T_UINT16                          46
-#define PSI_T_INT32                           47
-#define PSI_T_UINT32                          48
-#define PSI_T_INT64                           49
-#define PSI_T_UINT64                          50
-#define PSI_T_FUNCTION                        51
-#define PSI_T_NULL                            52
-#define PSI_T_TRUE                            53
-#define PSI_T_FALSE                           54
-#define PSI_T_DOLLAR                          55
-#define PSI_T_CALLOC                          56
+#define PSI_T_CALLOC                          11
+#define PSI_T_LIB                             12
+#define PSI_T_STRING                          13
+#define PSI_T_EOF                             14
+#define PSI_T_EOS                             15
+#define PSI_T_QUOTED_STRING                   16
+#define PSI_T_ENUM                            17
+#define PSI_T_LBRACE                          18
+#define PSI_T_RBRACE                          19
+#define PSI_T_COMMA                           20
+#define PSI_T_EQUALS                          21
+#define PSI_T_UNION                           22
+#define PSI_T_STRUCT                          23
+#define PSI_T_COLON                           24
+#define PSI_T_LPAREN                          25
+#define PSI_T_NUMBER                          26
+#define PSI_T_RPAREN                          27
+#define PSI_T_BOOL                            28
+#define PSI_T_INT                             29
+#define PSI_T_FLOAT                           30
+#define PSI_T_CONST                           31
+#define PSI_T_NSNAME                          32
+#define PSI_T_TYPEDEF                         33
+#define PSI_T_VOID                            34
+#define PSI_T_LBRACKET                        35
+#define PSI_T_RBRACKET                        36
+#define PSI_T_ELLIPSIS                        37
+#define PSI_T_CHAR                            38
+#define PSI_T_SHORT                           39
+#define PSI_T_LONG                            40
+#define PSI_T_DOUBLE                          41
+#define PSI_T_UNSIGNED                        42
+#define PSI_T_SIGNED                          43
+#define PSI_T_INT8                            44
+#define PSI_T_UINT8                           45
+#define PSI_T_INT16                           46
+#define PSI_T_UINT16                          47
+#define PSI_T_INT32                           48
+#define PSI_T_UINT32                          49
+#define PSI_T_INT64                           50
+#define PSI_T_UINT64                          51
+#define PSI_T_FUNCTION                        52
+#define PSI_T_NULL                            53
+#define PSI_T_TRUE                            54
+#define PSI_T_FALSE                           55
+#define PSI_T_DOLLAR                          56
 #define PSI_T_OBJVAL                          57
 #define PSI_T_ARRVAL                          58
 #define PSI_T_PATHVAL                         59
index b75ac6722cde03d45d2c26ebdf215a7e23502e8a..c28ff5914aeff7dd04b2a0c2c6e9d7decff64493 100644 (file)
@@ -29,7 +29,7 @@ void psi_error(int, const char *, int, const char *, ...);
 %nonassoc NAME.
 %left PLUS MINUS.
 %left SLASH ASTERISK.
-%fallback NAME TEMP FREE SET LET RETURN LIB STRING.
+%fallback NAME TEMP FREE SET LET RETURN CALLOC LIB STRING.
 
 file ::= blocks.