#include "data.h"
#ifndef PSI_CPP_DEBUG
-# define PSI_CPP_DEBUG 1
+# define PSI_CPP_DEBUG 0
#endif
struct psi_cpp_data {
}
psi_cpp_tokiter_expand_tokens(cpp, tokens);
- psi_cpp_tokiter_seek(cpp, psi_cpp_tokiter_index(cpp) + psi_plist_count(tokens));
psi_plist_free(tokens);
-
}
static bool psi_cpp_tokiter_expand_call(struct psi_cpp_data *cpp,
0, /* CALLABLE => nothing */
0, /* PRE_ASSERT => nothing */
0, /* POST_ASSERT => nothing */
- 0, /* ERROR => nothing */
- 0, /* WARNING => nothing */
+ 14, /* ERROR => NAME */
+ 14, /* WARNING => NAME */
14, /* TEMP => NAME */
14, /* FREE => NAME */
14, /* SET => NAME */
%left LSHIFT RSHIFT.
%left PLUS MINUS.
%left ASTERISK SLASH MODULO.
-%fallback NAME TEMP FREE SET LET RETURN CALLOC CALLBACK ZVAL LIB STRING COUNT.
+%fallback NAME TEMP FREE SET LET RETURN CALLOC CALLBACK ZVAL LIB STRING COUNT ERROR WARNING.
%wildcard ANY.
%type decl_enum {struct psi_decl_enum *}
%destructor decl_enum {psi_decl_enum_free(&$$);}
DEF(%left, PLUS MINUS.)
DEF(%left, ASTERISK SLASH MODULO.)
-DEF(%fallback, NAME TEMP FREE SET LET RETURN CALLOC CALLBACK ZVAL LIB STRING COUNT.)
+DEF(%fallback, NAME TEMP FREE SET LET RETURN CALLOC CALLBACK ZVAL LIB STRING COUNT ERROR WARNING.)
DEF(%wildcard, ANY.)
TOKEN_TYPE(decl_enum, struct psi_decl_enum *)