Skip to content

Commit

Permalink
Check for named actuals in tuple immediate
Browse files Browse the repository at this point in the history
Similar to the previous commit, this checks for named actuals in the
list of values used to create an immediate tuple value.

Signed-off-by: Keith Packard <keithp@keithp.com>
  • Loading branch information
keith-packard committed Jun 25, 2019
1 parent a96ceab commit 5077a8d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion snek-gram.ll
Expand Up @@ -549,7 +549,10 @@ opt-tuple-p : COMMA
}@
opt-actuals
@{
value_push_offset(value_pop().offset + 1);
snek_offset_t num = value_pop().offset;
if (num >= 256)
return parse_return_syntax;
value_push_offset(num + 1);
value_push_bool(true);
}@
|
Expand Down

0 comments on commit 5077a8d

Please sign in to comment.