clang format
This commit is contained in:
parent
f5d861a019
commit
dba0726eef
1 changed files with 2 additions and 1 deletions
|
|
@ -134,7 +134,8 @@ class CCodeGenerator {
|
|||
line("static const char *ts_symbol_names[] = {");
|
||||
indent([&]() {
|
||||
for (const auto &symbol : parse_table.symbols)
|
||||
line("[" + symbol_id(symbol) + "] = \"" + sanitize_name_for_string(symbol_name(symbol)) + "\",");
|
||||
line("[" + symbol_id(symbol) + "] = \"" +
|
||||
sanitize_name_for_string(symbol_name(symbol)) + "\",");
|
||||
});
|
||||
line("};");
|
||||
line();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue