Fix build warnings
This commit is contained in:
parent
afed91661b
commit
3f08bfb264
7 changed files with 11 additions and 8 deletions
|
|
@ -81,7 +81,7 @@ class ParseTableBuilder {
|
|||
mark_fragile_actions();
|
||||
remove_duplicate_parse_states();
|
||||
|
||||
parse_table.symbols.insert({ rules::ERROR(), {} });
|
||||
parse_table.symbols.insert({ rules::ERROR(), {true} });
|
||||
|
||||
return { parse_table, CompileError::none() };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -321,7 +321,7 @@ error:
|
|||
json_value_free(grammar_json);
|
||||
}
|
||||
|
||||
return { "", Grammar{}, error_message };
|
||||
return { "", Grammar(), error_message };
|
||||
}
|
||||
|
||||
} // namespace tree_sitter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue