Changeset View
Changeset View
Standalone View
Standalone View
externals/libfbjs/parser.yy
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | void yyerror(YYLTYPE* yyloc, void* yyscanner, void* node, const char* str) { | ||||
| terminate(yyscanner, str); | terminate(yyscanner, str); | ||||
| } | } | ||||
| %} | %} | ||||
| %locations | %locations | ||||
| %pure-parser | %pure-parser | ||||
| %parse-param { void* yyscanner } | %parse-param { void* yyscanner } | ||||
| %parse-param { Node* root } | %parse-param { fbjs::Node* root } | ||||
| %lex-param { void* yyscanner } | %lex-param { void* yyscanner } | ||||
| %error-verbose | %error-verbose | ||||
| // Basic tokens | // Basic tokens | ||||
| %token t_LCURLY t_RCURLY | %token t_LCURLY t_RCURLY | ||||
| %token t_LPAREN t_RPAREN | %token t_LPAREN t_RPAREN | ||||
| %token t_LBRACKET t_RBRACKET | %token t_LBRACKET t_RBRACKET | ||||
| %token t_SEMICOLON t_VIRTUAL_SEMICOLON | %token t_SEMICOLON t_VIRTUAL_SEMICOLON | ||||
| ▲ Show 20 Lines • Show All 1,458 Lines • Show Last 20 Lines | |||||