summary refs log tree commit diff stats
path: root/compiler/lexer.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-06-06 11:42:59 +0200
committerGitHub <noreply@github.com>2018-06-06 11:42:59 +0200
commite957d369b17cfb3532e2fe2aadfcde2bd3a0f11c (patch)
tree47767a3f415cc01816c2cca906f72b456e3fd806 /compiler/lexer.nim
parent8804ecd17592f115e919b826730404e81f79c911 (diff)
parentc69b88688fe9a531a88d693e9815af9caaf21396 (diff)
downloadNim-e957d369b17cfb3532e2fe2aadfcde2bd3a0f11c.tar.gz
Merge pull request #7907 from GULPF/lexer-unicode-fix
Lexer fix for multi byte characters
Diffstat (limited to 'compiler/lexer.nim')
-rw-r--r--compiler/lexer.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/lexer.nim b/compiler/lexer.nim
index 591561987..d498cf4af 100644
--- a/compiler/lexer.nim
+++ b/compiler/lexer.nim
@@ -25,7 +25,7 @@ const
   SymChars*: set[char] = {'a'..'z', 'A'..'Z', '0'..'9', '\x80'..'\xFF'}
   SymStartChars*: set[char] = {'a'..'z', 'A'..'Z', '\x80'..'\xFF'}
   OpChars*: set[char] = {'+', '-', '*', '/', '\\', '<', '>', '!', '?', '^', '.',
-    '|', '=', '%', '&', '$', '@', '~', ':', '\x80'..'\xFF'}
+    '|', '=', '%', '&', '$', '@', '~', ':'}
 
 # don't forget to update the 'highlite' module if these charsets should change