diff options
Diffstat (limited to '')
| -rw-r--r-- | src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0325db0..afa1d5e 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | #include "lexer.h" | 3 | #include "lexer.h" |
| 4 | #include "token.h" | 4 | #include "token.h" |
| 5 | #include "parser.h" | 5 | #include "parser.h" |
| 6 | #include "options.h" | ||
| 6 | #include <math.h> | 7 | #include <math.h> |
| 7 | #include <sys/time.h> | 8 | #include <sys/time.h> |
| 8 | 9 | ||
| @@ -360,8 +361,10 @@ void fractest() | |||
| 360 | println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); | 361 | println("%1 / %2 = %3").arg( a ).arg( b ).arg( a / b ); |
| 361 | } | 362 | } |
| 362 | 363 | ||
| 363 | int main( int , char *[] ) | 364 | int main( int argc, char *argv[] ) |
| 364 | { | 365 | { |
| 366 | Options opt( argc, argv ); | ||
| 367 | |||
| 365 | println("CliC - 0.02"); | 368 | println("CliC - 0.02"); |
| 366 | println("Try \\exit, \\scale, and \\radix commands."); | 369 | println("Try \\exit, \\scale, and \\radix commands."); |
| 367 | println(""); | 370 | println(""); |
