Skip to content

Commit

Permalink
+ ruby33.y: accept expr_value in sclass definition. (#978)
Browse files Browse the repository at this point in the history
This commit tracks upstream commit ruby/ruby@fe74674.
  • Loading branch information
iliabylich committed Dec 29, 2023
1 parent 85958cc commit ea3108e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser/ruby33.y
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ rule
local_pop
@context.in_class = ctx.in_class
}
| k_class tLSHFT expr term
| k_class tLSHFT expr_value term
{
@context.in_def = false
@context.in_class = false
Expand Down

0 comments on commit ea3108e

Please sign in to comment.