diff --git a/examples/c_lexer/c_lexer.hancho b/examples/c_lexer/c_lexer.hancho index fe14d25..ac0d794 100644 --- a/examples/c_lexer/c_lexer.hancho +++ b/examples/c_lexer/c_lexer.hancho @@ -2,7 +2,7 @@ # Matcheroni C lexer demo from hancho import * -rules = load("config/rules.hancho") +rules = load("../../config/rules.hancho") c_lexer_lib = rules.c_library( ["CLexer.cpp", "CToken.cpp"], diff --git a/examples/c_parser/c_parser.hancho b/examples/c_parser/c_parser.hancho index c20674c..f2555de 100644 --- a/examples/c_parser/c_parser.hancho +++ b/examples/c_parser/c_parser.hancho @@ -2,7 +2,7 @@ # C parser example (not finished) from hancho import * -rules = load("config/rules.hancho") +rules = load("../../config/rules.hancho") c_lexer = load("../c_lexer/c_lexer.hancho") c_parser_lib = rules.c_library( diff --git a/examples/ini/ini.hancho b/examples/ini/ini.hancho index 033c1ed..100ac5e 100644 --- a/examples/ini/ini.hancho +++ b/examples/ini/ini.hancho @@ -2,6 +2,6 @@ # INI parser example from hancho import * -rules = load("config/rules.hancho") +rules = load("../../config/rules.hancho") ini_parser_lib = rules.c_library("ini_parser.cpp", "ini_parser.a") diff --git a/examples/json/json.hancho b/examples/json/json.hancho index 511c7e0..34d552b 100644 --- a/examples/json/json.hancho +++ b/examples/json/json.hancho @@ -2,7 +2,7 @@ # Matcheroni JSON parser example from hancho import * -rules = load("config/rules.hancho") +rules = load("../../config/rules.hancho") json_parser = rules.c_library( ["json_matcher.cpp", "json_parser.cpp"], diff --git a/examples/regex/regex.hancho b/examples/regex/regex.hancho index 42a2e3f..fe549d3 100644 --- a/examples/regex/regex.hancho +++ b/examples/regex/regex.hancho @@ -2,7 +2,7 @@ # Matcheroni regex parsing example from hancho import * -rules = load("config/rules.hancho") +rules = load("../../config/rules.hancho") # These are the various regex libraries that Matcheroni can be benchmarked # against. CTRE and SRELL require that you copy their header into matcheroni/. diff --git a/examples/toml/toml.hancho b/examples/toml/toml.hancho index b8c7b6c..f7f7d5f 100644 --- a/examples/toml/toml.hancho +++ b/examples/toml/toml.hancho @@ -2,7 +2,7 @@ # TOML parser example from hancho import * -rules = load("config/rules.hancho") +rules = load("../../config/rules.hancho") toml_lib = rules.c_library( "toml_parser.cpp", diff --git a/examples/tutorial/tutorial.hancho b/examples/tutorial/tutorial.hancho index cde83c3..da53388 100644 --- a/examples/tutorial/tutorial.hancho +++ b/examples/tutorial/tutorial.hancho @@ -2,9 +2,9 @@ # Tutorial examples from hancho import * -rules = load("config/rules.hancho") -c_lexer = load("examples/c_lexer/c_lexer.hancho") -c_parser = load("examples/c_parser/c_parser.hancho") +rules = load("../../config/rules.hancho") +c_lexer = load("../c_lexer/c_lexer.hancho") +c_parser = load("../c_parser/c_parser.hancho") rules.c_test("json_tut0a.cpp", "json_tut0a", quiet = True) rules.c_test("json_tut1a.cpp", "json_tut1a", quiet = True) diff --git a/tests/tests.hancho b/tests/tests.hancho index 3f08424..333ea41 100644 --- a/tests/tests.hancho +++ b/tests/tests.hancho @@ -2,7 +2,7 @@ # Tests from hancho import * -rules = load("config/rules.hancho") +rules = load("../config/rules.hancho") #build obj/matcheroni/Matcheroni.hpp.iwyu : iwyu matcheroni/Matcheroni.hpp #build obj/matcheroni/Parseroni.hpp.iwyu : iwyu matcheroni/Parseroni.hpp