diff options
author | Mike Buland <eichlan@xagasoft.com> | 2014-11-25 09:42:47 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2014-11-25 09:42:47 -0700 |
commit | 145c88f23e6587e310d3ca974365d20d373d8e1b (patch) | |
tree | 9f568c7d801fdee926e875317f56cb795c6a0e11 /src/unitparser.cpp | |
parent | 3320e1496b1d099f63dea869f4a1cc19630dc3a9 (diff) | |
download | clic-145c88f23e6587e310d3ca974365d20d373d8e1b.tar.gz clic-145c88f23e6587e310d3ca974365d20d373d8e1b.tar.bz2 clic-145c88f23e6587e310d3ca974365d20d373d8e1b.tar.xz clic-145c88f23e6587e310d3ca974365d20d373d8e1b.zip |
Added a new 'execute' command line parameter.
Diffstat (limited to 'src/unitparser.cpp')
-rw-r--r-- | src/unitparser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unitparser.cpp b/src/unitparser.cpp index 6a5dcf4..e23f76c 100644 --- a/src/unitparser.cpp +++ b/src/unitparser.cpp | |||
@@ -48,8 +48,8 @@ void UnitParser::assignment() | |||
48 | lex.setScale( 0 ); | 48 | lex.setScale( 0 ); |
49 | Parser parser( lex, mbOut ); | 49 | Parser parser( lex, mbOut ); |
50 | parser.parse(); | 50 | parser.parse(); |
51 | Bu::println("%1 == %2").arg( mbOut.getString().trimWhitespace() ) | 51 | // Bu::println("%1 == %2").arg( mbOut.getString().trimWhitespace() ) |
52 | .arg( parser.getVariable("test") ); | 52 | // .arg( parser.getVariable("test") ); |
53 | unitTest( mbOut.getString().trimWhitespace() == parser.getVariable("test").toString() ); | 53 | unitTest( mbOut.getString().trimWhitespace() == parser.getVariable("test").toString() ); |
54 | } | 54 | } |
55 | 55 | ||