diff options
author | Mike Buland <mike@xagasoft.com> | 2013-11-14 15:35:47 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2013-11-14 15:35:47 -0700 |
commit | abe7e449143052b07fae688da690c2a7d387a291 (patch) | |
tree | 00742d14bce96777ce65589f9abeeca4cdadbc25 /src/options.cpp | |
parent | bc0484899acb3495f95d7400ff2eb804ae580096 (diff) | |
download | clic-abe7e449143052b07fae688da690c2a7d387a291.tar.gz clic-abe7e449143052b07fae688da690c2a7d387a291.tar.bz2 clic-abe7e449143052b07fae688da690c2a7d387a291.tar.xz clic-abe7e449143052b07fae688da690c2a7d387a291.zip |
Fixed (?) parsing order of operations bug, added unit tests.
Diffstat (limited to 'src/options.cpp')
-rw-r--r-- | src/options.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.cpp b/src/options.cpp index 7fbd70e..6e264f9 100644 --- a/src/options.cpp +++ b/src/options.cpp | |||
@@ -1,6 +1,7 @@ | |||
1 | #include "options.h" | 1 | #include "options.h" |
2 | 2 | ||
3 | #include "unitnumber.h" | 3 | #include "unitnumber.h" |
4 | #include "unitparser.h" | ||
4 | #include "number.h" | 5 | #include "number.h" |
5 | 6 | ||
6 | #include <bu/sio.h> | 7 | #include <bu/sio.h> |
@@ -37,6 +38,7 @@ Options::~Options() | |||
37 | int Options::selfTest( Bu::StringArray ) | 38 | int Options::selfTest( Bu::StringArray ) |
38 | { | 39 | { |
39 | UnitNumber().run(); | 40 | UnitNumber().run(); |
41 | UnitParser().run(); | ||
40 | 42 | ||
41 | exit( 0 ); | 43 | exit( 0 ); |
42 | return 0; | 44 | return 0; |