Trim whitespace
This commit is contained in:
parent
801f4bd0a8
commit
93df5579b4
15 changed files with 78 additions and 78 deletions
|
|
@ -83,11 +83,11 @@ namespace tree_sitter {
|
|||
}
|
||||
|
||||
private:
|
||||
|
||||
|
||||
const PreparedGrammar & grammar_for_symbol(const rules::ISymbol &symbol) {
|
||||
return symbol.is_token() ? lexical_grammar : syntax_grammar;
|
||||
}
|
||||
|
||||
|
||||
string symbol_id(const rules::ISymbol &symbol) {
|
||||
if (symbol.is_built_in()) {
|
||||
return (symbol == rules::ERROR()) ?
|
||||
|
|
@ -101,7 +101,7 @@ namespace tree_sitter {
|
|||
return "ts_sym_" + name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
string symbol_name(const rules::ISymbol &symbol) {
|
||||
if (symbol.is_built_in()) {
|
||||
return (symbol == rules::ERROR()) ? "error" : "end";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue