aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-03-03 22:57:16 +0100
committerRenaud G <renaud@rolisteam.org>2015-03-03 22:57:16 +0100
commit9f57feb3052ef74c9ee6aa08b39f04ee61f6839c (patch)
tree7628e1e7138d8314f1d87dc939a991dd5cf039ad /main.cpp
parentd51884f5c6ea38f3bf06b3a0ef185056fa0a7558 (diff)
downloadOneRoll-9f57feb3052ef74c9ee6aa08b39f04ee61f6839c.tar.gz
OneRoll-9f57feb3052ef74c9ee6aa08b39f04ee61f6839c.zip
-store pointeur to previous node.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index 086e5c2..eca50c0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -36,7 +36,11 @@ int main(int argc, char *argv[])
QStringList commands;
- commands<< "5d6;1d10;4d100;3d20";/*
+ commands<< "3d10c[>=6]-@c[=1]"
+ << "3d10-@c[>1]"
+ << "3d10c[>=6]-c[=1]"
+ << "3d10c[>=5]";
+ /*<< "3nwod"
<< "1+(4*3)D10"
<< "2+4/4"
<< "2D10*2D20*8"
@@ -46,7 +50,7 @@ int main(int argc, char *argv[])
<< "3D100"
<< "4k3"
<< "10D10e[>=6]sc[>=6]"
- //<< "100190D6666666s"
+ << "100190D6666666s"
<< "10D10e10s"
<< "10D10s"
<< "15D10e10c[8-10]"
@@ -79,8 +83,12 @@ int main(int argc, char *argv[])
myParser->Start();
myParser->displayResult();
}
+ else
+ {
+ qDebug() << "echec";
+ }
}
- //main.show();
- //return a.exec();
+ main.show();
+ return a.exec();
}