diff --git a/src/compiler/build_tables/build_tables.cc b/src/compiler/build_tables/build_tables.cc index de9d8853..f1903f08 100644 --- a/src/compiler/build_tables/build_tables.cc +++ b/src/compiler/build_tables/build_tables.cc @@ -1,6 +1,5 @@ -#include "compiler/build_tables/build_tables.h" -#include "compiler/build_tables/build_parse_table.h" #include "compiler/build_tables/build_lex_table.h" +#include "compiler/build_tables/build_parse_table.h" #include "compiler/prepared_grammar.h" namespace tree_sitter { diff --git a/src/compiler/build_tables/build_tables.h b/src/compiler/build_tables/build_tables.h index 6cea52b7..c2be69a8 100644 --- a/src/compiler/build_tables/build_tables.h +++ b/src/compiler/build_tables/build_tables.h @@ -8,13 +8,16 @@ #include "compiler/lex_table.h" namespace tree_sitter { + class SyntaxGrammar; class LexicalGrammar; namespace build_tables { + std::tuple> build_tables( - const SyntaxGrammar &grammar, const LexicalGrammar &lex_grammar); -} -} + const SyntaxGrammar &, const LexicalGrammar &); + +} // namespace build_tables +} // namespace tree_sitter #endif // COMPILER_BUILD_TABLES_BUILD_TABLES_H_