Commit 85dd2713 authored by Stefan Marr's avatar Stefan Marr

Swap order to sync with RTruffleSOM, no semantic change

Signed-off-by: 's avatarStefan Marr <git@stefan-marr.de>
parent 05128031
......@@ -283,14 +283,14 @@ class Parser(object):
def _result(self, mgenc):
self._expression(mgenc)
self._accept(Symbol.Period)
if mgenc.is_block_method():
self._bc_gen.emitRETURNNONLOCAL(mgenc)
else:
self._bc_gen.emitRETURNLOCAL(mgenc)
mgenc.set_finished(True)
self._accept(Symbol.Period)
def _expression(self, mgenc):
self._peek_for_next_symbol_from_lexer()
......
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