| 515 | }; |
| 516 | |
| 517 | txBoolean fxIsKeyword(txParser* parser, txSymbol* keyword) |
| 518 | { |
| 519 | txBoolean result = ((parser->states[0].token == XS_TOKEN_IDENTIFIER) && (parser->states[0].symbol == keyword)) ? 1 : 0; |
| 520 | if (result) { |
| 521 | if (parser->states[0].escaped) |
| 522 | fxReportParserError(parser, parser->states[0].line, "escaped keyword"); |
| 523 | } |
| 524 | return result; |
| 525 | } |
| 526 | |
| 527 | txBoolean fxIsToken(txParser* parser, txToken theToken) |
| 528 | { |
no test coverage detected