diff --git a/build/command_line.hxml b/build/command_line.hxml index 43fd736..7ef743e 100644 --- a/build/command_line.hxml +++ b/build/command_line.hxml @@ -1,3 +1,4 @@ -main CommandLineInterface -neko ../neko/codeparser.n --cp ../src \ No newline at end of file +-cp ../src +-resource ../data/all_tokens.hxd \ No newline at end of file diff --git a/src/CommandLineInterface.hx b/src/CommandLineInterface.hx index 673c0b7..43f5464 100644 --- a/src/CommandLineInterface.hx +++ b/src/CommandLineInterface.hx @@ -27,7 +27,7 @@ class CommandLineInterface { var code = neko.io.File.getContent(filepath); var parser = new CodeParser(); - parser.load_all_processors_from_disk(); + parser.load_processors_from_resources(); var results = parser.parse(code);