aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorAdrian Kummerländer2011-11-20 17:53:15 +0100
committerAdrian Kummerländer2011-11-20 17:53:15 +0100
commitc0933381497401a9439446d9470dd617b08b88ed (patch)
tree63a7904cbd8ee3791eb3f03815d4b1f777d5f331 /main.cpp
parent64c34a42ce96c8368b8dc0636e8a452def6f8ea5 (diff)
downloadSimpleParser-c0933381497401a9439446d9470dd617b08b88ed.tar
SimpleParser-c0933381497401a9439446d9470dd617b08b88ed.tar.gz
SimpleParser-c0933381497401a9439446d9470dd617b08b88ed.tar.bz2
SimpleParser-c0933381497401a9439446d9470dd617b08b88ed.tar.lz
SimpleParser-c0933381497401a9439446d9470dd617b08b88ed.tar.xz
SimpleParser-c0933381497401a9439446d9470dd617b08b88ed.tar.zst
SimpleParser-c0933381497401a9439446d9470dd617b08b88ed.zip
Added support for signed numbers
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 2bc682a..d3c3799 100644
--- a/main.cpp
+++ b/main.cpp
@@ -11,7 +11,7 @@ int main(int argc, char *argv[])
Parser *parser = new Parser();
try {
- std::cout << parser->calculate(inputTerm, false).result << std::endl;
+ std::cout << parser->calculate(inputTerm, true).result << std::endl;
}
catch ( exception &e )
{