Don't store text on documents
This commit is contained in:
parent
6ed6aa05cc
commit
ceee7eefd0
5 changed files with 21 additions and 13 deletions
|
|
@ -123,9 +123,9 @@ static void TSParserReduce(ts_parser *parser, ts_symbol symbol, int immediate_ch
|
|||
static void TSParserError(ts_parser *parser, size_t count, const char **expected_inputs) {
|
||||
ts_error *error = &parser->result.error;
|
||||
error->position = parser->position;
|
||||
error->lookahead_char = TSParserLookaheadChar(parser);
|
||||
error->expected_input_count = count;
|
||||
error->expected_inputs = expected_inputs;
|
||||
error->lookahead_sym = TSParserLookaheadSym(parser);
|
||||
}
|
||||
|
||||
static int TSParserHasError(const ts_parser *parser) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue