diff options
author | Mike Buland <eichlan@xagasoft.com> | 2016-12-01 10:40:43 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2016-12-01 10:40:43 -0700 |
commit | b96daa4e9849ac9caf5c0dfcea8daac28267ea19 (patch) | |
tree | 9be42c8cfe8b875f396b5887742bb936bd081c65 /src/unitparser.cpp | |
parent | 4efeaef41e57b25d6004e7f91828f7d5b5cd0b20 (diff) | |
download | clic-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.cpp | 2 |
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") ); |