Fix build warnings

This commit is contained in:
Max Brunsfeld 2016-02-12 14:07:30 -08:00
parent afed91661b
commit 3f08bfb264
7 changed files with 11 additions and 8 deletions

View file

@ -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() };
}

View file

@ -321,7 +321,7 @@ error:
json_value_free(grammar_json);
}
return { "", Grammar{}, error_message };
return { "", Grammar(), error_message };
}
} // namespace tree_sitter