From ce68e816bd82612c14f3492e8bc969da9bfab06c Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 9 May 2013 15:24:11 -0600 Subject: Added better filtering in Number::set, and cli options. The command line options let you set the initial radix/scale, and there's a function te test if any number is prime, that's fun. --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 8e8c19d..c128dd8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -377,6 +377,8 @@ int main( int argc, char *argv[] ) // ordertest(); Lexer lex( sioRaw ); + lex.setScale( opt.getScale() ); + lex.setRadix( opt.getRadix() ); Parser parser( lex, sioRaw ); parser.parse(); -- cgit v1.2.3