mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-17 07:02:58 +01:00
Made single quotes not quotes anymore. Now only double quotes and backticks work.
This commit is contained in:
parent
8d857b6ffd
commit
22490174f3
@ -151,8 +151,8 @@ class Error(Exception):
|
||||
pass
|
||||
|
||||
class Tokenizer:
|
||||
quotes = '\'"`'
|
||||
nonbacktickquotes = '\'"'
|
||||
quotes = '"`'
|
||||
nonbacktickquotes = '"'
|
||||
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