]> granicus.if.org Git - re2c/commitdiff
Moved function declarations to the header they belong in.
authorUlya Trofimovich <skvadrik@gmail.com>
Thu, 10 Jan 2019 22:09:25 +0000 (22:09 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Thu, 10 Jan 2019 22:09:25 +0000 (22:09 +0000)
re2c/src/parse/ast.h
re2c/src/parse/parser.h

index ec23822fd3af128880ffeb0a8c46456be405c541..a2c282e2697ab352db4c355471349033deac61ec 100644 (file)
@@ -6,7 +6,6 @@
 #include <string>
 #include <vector>
 
-#include "src/parse/scanner.h"
 #include "src/regexp/rule.h"
 #include "src/util/free_list.h"
 #include "src/util/range.h"
@@ -132,10 +131,6 @@ const AST *ast_cap(const AST *a);
 const AST *ast_ref(const AST *a, const std::string &n);
 bool ast_need_wrap(const AST *a);
 
-void validate_mode(Scanner::ParseMode mode, bool rflag, bool rules, Scanner &input);
-void validate_ast(const specs_t &specs, const opt_t *opts);
-void normalize_ast(specs_t &specs);
-
 } // namespace re2c
 
 #endif // _RE2C_AST_AST_
index dba75fc783ba7d8849173e8c0d67decb021d8e18..ff0e9e11bb534645b76ff211e71a1c082adfc0e4 100644 (file)
@@ -26,6 +26,9 @@ struct context_t
 };
 
 void parse(Scanner &input, specs_t &specs, symtab_t &symtab, Opt &opts);
+void validate_mode(Scanner::ParseMode mode, bool rflag, bool rules, Scanner &input);
+void validate_ast(const specs_t &specs, const opt_t *opts);
+void normalize_ast(specs_t &specs);
 
 } // namespace re2c