From b96daa4e9849ac9caf5c0dfcea8daac28267ea19 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 1 Dec 2016 10:40:43 -0700 Subject: Scripts are executable now! The main interactive interface doesn't work, and there's a lot left to do with the unit tests, other command line options, etc. but it's pretty exciting. I also still have to figure out how commands will work. I'm thinking they'll be stored in an Expression and executed by the engine as normal. --- src/unitparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unitparser.cpp') diff --git a/src/unitparser.cpp b/src/unitparser.cpp index a894647..01a4f80 100644 --- a/src/unitparser.cpp +++ b/src/unitparser.cpp @@ -53,7 +53,7 @@ void UnitParser::assignment() Bu::MemBuf mbOut; Lexer lex( mbIn ); lex.setScale( 0 ); - Parser parser( lex, mbOut ); + Parser parser( lex ); parser.parse(); // Bu::println("%1 == %2").arg( mbOut.getString().trimWhitespace() ) // .arg( parser.getVariable("test") ); -- cgit v1.2.3