Make grammars' separator characters configurable
This commit is contained in:
parent
8aea89750d
commit
a9dff20658
5 changed files with 24 additions and 5 deletions
|
|
@ -124,7 +124,7 @@ namespace tree_sitter {
|
|||
|
||||
return {
|
||||
SyntaxGrammar(rules, aux_rules, ubiquitous_tokens),
|
||||
LexicalGrammar(tokens, aux_tokens, {}),
|
||||
LexicalGrammar(tokens, aux_tokens, input_grammar.separators),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue