Whitespace cleanup

This commit is contained in:
Florian Bruhin 2014-11-04 20:13:31 +01:00
parent 89a2057cac
commit 430ef5c935

View File

@ -94,8 +94,8 @@ class ShellLexer:
raise ValueError("No escaped character")
# In posix shells, only the quote itself or the escape
# character may be escaped within quotes.
if escapedstate in self.quotes and \
nextchar != self.state and nextchar != escapedstate:
if (escapedstate in self.quotes and nextchar != self.state and
nextchar != escapedstate):
self.token = self.token + self.state
self.token = self.token + nextchar
self.state = escapedstate