summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
41ff7ec)
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
/* Magic tokens */
%token T_LEX_ERROR
%token <strval> T_IDENT "identifier"
%token <uintval> T_UINT "integer constant"
%token <strval> T_IDENT "identifier"
%token <uintval> T_UINT "integer constant"
-input: T_ENGLISH english {
- *out = $2;
+input: english {
+ *out = $1;
} | declaration {
*out = $1;
};
} | declaration {
*out = $1;
};
-
- if (yyextra > 0) {
- yyextra = -yyextra;
- return T_ENGLISH;
- }