mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-17 15:13:02 +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
|
pass
|
||||||
|
|
||||||
class Tokenizer:
|
class Tokenizer:
|
||||||
quotes = '\'"`'
|
quotes = '"`'
|
||||||
nonbacktickquotes = '\'"'
|
nonbacktickquotes = '"'
|
||||||
validChars = string.ascii[33:].translate(string.ascii, '\'"`[]')
|
validChars = string.ascii[33:].translate(string.ascii, '\'"`[]')
|
||||||
def __init__(self, tokens=''):
|
def __init__(self, tokens=''):
|
||||||
self.validChars = self.validChars.translate(string.ascii, tokens)
|
self.validChars = self.validChars.translate(string.ascii, tokens)
|
||||||
|
Loading…
Reference in New Issue
Block a user