commit | 88e97c354a2e1b62a75ad9110168b4887c28202f | [log] [tgz] |
---|---|---|
author | BalazsJako <this.is.balazs.jako@gmail.com> | Thu Sep 13 19:46:40 2018 +0100 |
committer | BalazsJako <this.is.balazs.jako@gmail.com> | Thu Sep 13 19:46:40 2018 +0100 |
tree | 98a3c57b406a69078c45ebb96ceab0c26a1a36ba | |
parent | c3d7175cefdbda2fc5e2e6517352df6c1c6393fe [diff] |
Fixed C/C++ tokenizer number recognition: + 1 (plus-space-one) was recognized as a number instead of a punctuation and a separate number.
diff --git a/TextEditor.cpp b/TextEditor.cpp index c294a4d..8bb433e 100644 --- a/TextEditor.cpp +++ b/TextEditor.cpp
@@ -2035,9 +2035,6 @@ p++; - while (p < in_end && isblank(*p)) - p++; - bool hasNumber = startsWithNumber; while (p < in_end && (*p >= '0' && *p <= '9'))