summary refs log tree commit diff stats
path: root/tests/lexer
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-03 16:18:09 +0800
committerGitHub <noreply@github.com>2022-11-03 09:18:09 +0100
commit0b1d1b7886396d943a54843c63e4dc0604db0cdb (patch)
treef354c418781ab48ac0f94c616f470f0be8aabc7a /tests/lexer
parentc4e5dab4197ce57af03c5eaa6117b738279fa537 (diff)
downloadNim-0b1d1b7886396d943a54843c63e4dc0604db0cdb.tar.gz
fixes #15688; handle `strongSpace` overflow issues (#20724)
* fixes #15688; handle `strongSpace` overflow issues

* stop at 1

* change the type of strongSpaceA to bool
Diffstat (limited to 'tests/lexer')
-rw-r--r--tests/lexer/tlexerspaces.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lexer/tlexerspaces.nim b/tests/lexer/tlexerspaces.nim
new file mode 100644
index 000000000..14b16111d
--- /dev/null
+++ b/tests/lexer/tlexerspaces.nim
@@ -0,0 +1,2 @@
+discard 12 +                                                                                                                                                                                                                                                                           5
+discard 12 + 5