mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Actually, that is rather unnecessary. Sorry for messing up so bad today. :/
This commit is contained in:
parent
52e7551493
commit
708ee91776
@ -187,13 +187,10 @@ class Tokenizer:
|
||||
token = lexer.get_token()
|
||||
if not token:
|
||||
raise SyntaxError, 'Missing "]"'
|
||||
elif conf.supybot.bracketSyntax():
|
||||
if token == ']':
|
||||
return ret
|
||||
elif token == '[':
|
||||
ret.append(self._insideBrackets(lexer))
|
||||
else:
|
||||
ret.append(self._handleToken(token))
|
||||
elif token == ']':
|
||||
return ret
|
||||
elif token == '[':
|
||||
ret.append(self._insideBrackets(lexer))
|
||||
else:
|
||||
ret.append(self._handleToken(token))
|
||||
return ret
|
||||
|
Loading…
Reference in New Issue
Block a user