Remove leftover TODO from earlier restructuring
This commit is contained in:
parent
fd89c5c6b3
commit
aaeb0c4db1
@ -444,7 +444,6 @@ static size_t attempt_lex_token(<%= @grammar.prefix %>context_t * context, <%= @
|
|||||||
<%= @grammar.prefix %>token_info_t token_info = {0};
|
<%= @grammar.prefix %>token_info_t token_info = {0};
|
||||||
token_info.position = context->text_position;
|
token_info.position = context->text_position;
|
||||||
token_info.token = INVALID_TOKEN_ID;
|
token_info.token = INVALID_TOKEN_ID;
|
||||||
*out_token_info = token_info; // TODO: remove
|
|
||||||
lexer_match_info_t match_info;
|
lexer_match_info_t match_info;
|
||||||
size_t unexpected_input_length;
|
size_t unexpected_input_length;
|
||||||
size_t result = find_longest_match(context, &match_info, &unexpected_input_length);
|
size_t result = find_longest_match(context, &match_info, &unexpected_input_length);
|
||||||
|
@ -586,7 +586,6 @@ private size_t attempt_lex_token(<%= @grammar.prefix %>context_t * context, <%=
|
|||||||
<%= @grammar.prefix %>token_info_t token_info;
|
<%= @grammar.prefix %>token_info_t token_info;
|
||||||
token_info.position = context.text_position;
|
token_info.position = context.text_position;
|
||||||
token_info.token = INVALID_TOKEN_ID;
|
token_info.token = INVALID_TOKEN_ID;
|
||||||
*out_token_info = token_info; // TODO: remove
|
|
||||||
lexer_match_info_t match_info;
|
lexer_match_info_t match_info;
|
||||||
size_t unexpected_input_length;
|
size_t unexpected_input_length;
|
||||||
size_t result = find_longest_match(context, &match_info, &unexpected_input_length);
|
size_t result = find_longest_match(context, &match_info, &unexpected_input_length);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user