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

Sync style with RTruffleSOM

Signed-off-by: default avatarStefan Marr <>
parent 5d001264
......@@ -522,11 +522,12 @@ 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
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()
return self._unary_selector()
def _keyword_selector(self):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment