diff --git a/components/compiler/scanner.cpp b/components/compiler/scanner.cpp index e7bbec385a..f82ee73d0e 100644 --- a/components/compiler/scanner.cpp +++ b/components/compiler/scanner.cpp @@ -63,7 +63,7 @@ namespace Compiler mLoc.mLiteral.clear(); return true; } - else if (std::isdigit (c) || c=='-') + else if (std::isdigit (c)) { bool cont = false;