This token is pointless, all english syntax is already sufficiently
distinguished by the T_DECLARE and T_TYPE tokens, which are only
returned by the scanner in english mode.
/* Magic tokens */
%token T_LEX_ERROR
-%token T_ENGLISH
%token <strval> T_IDENT "identifier"
%token <uintval> T_UINT "integer constant"
%%
-input: T_ENGLISH english {
- *out = $2;
+input: english {
+ *out = $1;
} | declaration {
*out = $1;
};
%{
char *c;
-
- if (yyextra > 0) {
- yyextra = -yyextra;
- return T_ENGLISH;
- }
%}
"..."|[][;*(),] {