Closed sjbarag closed 3 years ago
BrightScript, like JavaScript and several other languages, supports a leading + sign before numeric literals (and variables, incidentally). Check for + tokens when parsing unary expressions, and evaluate them at runtime (no-op).
+
fixes #227
BrightScript, like JavaScript and several other languages, supports a leading
+
sign before numeric literals (and variables, incidentally). Check for+
tokens when parsing unary expressions, and evaluate them at runtime (no-op).fixes #227