#define F(value) do { \
int token(value); \
- yyextra->statement_ = false; \
return token; \
} while (false)
"(" L C F(tk::OpenParen);
")" L C F(tk::CloseParen);
-"{" L C F(yyextra->statement_ ? tk::OpenBrace__ : yylval->newline_ ? tk::OpenBrace_ : tk::OpenBrace);
+"{" L C F(yylval->newline_ ? tk::OpenBrace_ : tk::OpenBrace);
"}" L C F(tk::CloseBrace);
"[" L C F(tk::OpenBracket);
@begin ObjectiveC
"@end" L C F(tk::AtEnd);
-"@implementation" L C F(yyextra->statement_ ? tk::AtImplementation_ : tk::AtImplementation);
+"@implementation" L C F(tk::AtImplementation);
"@import" L C F(tk::AtImport);
"@selector" L C F(tk::AtSelector);
@end
"else" L C I(word, Word("else"), tk::Else);
"finally" L C I(word, Word("finally"), tk::Finally);
"for" L C I(word, Word("for"), tk::For);
-"function" L C I(word, Word("function"), yyextra->statement_ ? tk::Function_ : tk::Function);
+"function" L C I(word, Word("function"), tk::Function);
"if" L C I(word, Word("if"), tk::If);
"in" L C I(word, Word("in"), yyextra->in_.top() ? tk::In_ : tk::In);
"instanceof" L C I(word, Word("instanceof"), tk::InstanceOf);