mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Fixed a single-quote bug in Tokenizer
This commit is contained in:
parent
817e967716
commit
0f6fe97bf4
@ -153,7 +153,7 @@ class Error(Exception):
|
||||
class Tokenizer:
|
||||
quotes = '"`'
|
||||
nonbacktickquotes = '"'
|
||||
validChars = string.ascii[33:].translate(string.ascii, '\'"`[]')
|
||||
validChars = string.ascii[33:].translate(string.ascii, '"`[]')
|
||||
def __init__(self, tokens=''):
|
||||
self.validChars = self.validChars.translate(string.ascii, tokens)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user