improving the string according to kasper

This commit is contained in:
Torsten Ruger
2014-05-09 13:51:47 +03:00
parent e4dce2394c
commit 8e6297dcff
5 changed files with 29 additions and 18 deletions

View File

@@ -20,7 +20,7 @@ class TestRunner < MiniTest::Test
def execute file
string = File.read(file)
parser = Parser::Composed.new
syntax = parser.function_definition.parse_with_debug(string)
syntax = parser.parse_with_debug(string)
program = Vm::Program.new "Arm"
main = Parser::Transform.new.apply(syntax)