Remove overly conservative check for the validity of keyword capture tokens
This commit is contained in:
parent
d2019cd12c
commit
65e654ea9b
1 changed files with 0 additions and 1 deletions
|
|
@ -182,7 +182,6 @@ class LexTableBuilderImpl : public LexTableBuilder {
|
|||
// Don't use a token to capture keywords if it overlaps with separator characters.
|
||||
AllCharacterAggregator capture_aggregator;
|
||||
capture_aggregator.apply(grammar.variables[i].rule);
|
||||
if (capture_aggregator.result.includes_all) continue;
|
||||
if (capture_aggregator.result.intersects(separator_start_characters)) continue;
|
||||
|
||||
// Don't use a token to capture keywords if it conflicts with other tokens
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue