summaryrefslogtreecommitdiff
path: root/src/unitparser.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2016-12-01 10:40:43 -0700
committerMike Buland <eichlan@xagasoft.com>2016-12-01 10:40:43 -0700
commitb96daa4e9849ac9caf5c0dfcea8daac28267ea19 (patch)
tree9be42c8cfe8b875f396b5887742bb936bd081c65 /src/unitparser.cpp
parent4efeaef41e57b25d6004e7f91828f7d5b5cd0b20 (diff)
downloadclic-b96daa4e9849ac9caf5c0dfcea8daac28267ea19.tar.gz
clic-b96daa4e9849ac9caf5c0dfcea8daac28267ea19.tar.bz2
clic-b96daa4e9849ac9caf5c0dfcea8daac28267ea19.tar.xz
clic-b96daa4e9849ac9caf5c0dfcea8daac28267ea19.zip
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.
Diffstat (limited to 'src/unitparser.cpp')
-rw-r--r--src/unitparser.cpp2
1 files changed, 1 insertions, 1 deletions
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()
53 Bu::MemBuf mbOut; 53 Bu::MemBuf mbOut;
54 Lexer lex( mbIn ); 54 Lexer lex( mbIn );
55 lex.setScale( 0 ); 55 lex.setScale( 0 );
56 Parser parser( lex, mbOut ); 56 Parser parser( lex );
57 parser.parse(); 57 parser.parse();
58// Bu::println("%1 == %2").arg( mbOut.getString().trimWhitespace() ) 58// Bu::println("%1 == %2").arg( mbOut.getString().trimWhitespace() )
59// .arg( parser.getVariable("test") ); 59// .arg( parser.getVariable("test") );