commit | 1060c0e1a63f9c4d80202cd378498f2831ac37a2 | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Thu Dec 09 09:46:42 2021 -0800 |
committer | swissChili <swisschili@fastmail.com> | Thu Dec 09 09:46:42 2021 -0800 |
tree | ee963ead7b690825472130b4cfd8ab40b387a1ea | |
parent | 9dddbf7597f61d638ad9f92836caf23f0b7aa21d [diff] [blame] |
Add integers
diff --git a/Parser.cpp b/Parser.cpp index c3d8330..145972f 100644 --- a/Parser.cpp +++ b/Parser.cpp
@@ -78,7 +78,7 @@ while (peek().isDigit()) buffer += get(); - *node = T(buffer, 10); + *node = T::fromInteger(buffer.toInt()); return true; }