Commit 56f0d746 authored by Stefan Marr's avatar Stefan Marr

Sync style with RTruffleSOM

Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 5d001264
......@@ -522,12 +522,13 @@ class Parser(object):
self._bc_gen.emitPUSHCONSTANT(mgenc, string)
def _selector(self):
if self._sym == Symbol.OperatorSequence or self._sym_in(self._single_op_syms):
if (self._sym == Symbol.OperatorSequence or
self._sym_in(self._single_op_syms)):
return self._binary_selector()
elif self._sym == Symbol.Keyword or self._sym == Symbol.KeywordSequence:
if (self._sym == Symbol.Keyword or
self._sym == Symbol.KeywordSequence):
return self._keyword_selector()
else:
return self._unary_selector()
return self._unary_selector()
def _keyword_selector(self):
s = self._text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment