File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -360,13 +360,15 @@ rule
360360 @lexer.state = :expr_beg
361361 @lexer.command_start = false
362362 @pattern_variables.push
363+ @pattern_hash_keys.push
363364
364365 result = @context.in_kwarg
365366 @context.in_kwarg = true
366367 }
367368 p_top_expr_body
368369 {
369370 @pattern_variables.pop
371+ @pattern_hash_keys.pop
370372 @context.in_kwarg = val[2 ]
371373 result = @builder.match_pattern (val[0 ], val[1 ], val[3 ])
372374 }
@@ -375,13 +377,15 @@ rule
375377 @lexer.state = :expr_beg
376378 @lexer.command_start = false
377379 @pattern_variables.push
380+ @pattern_hash_keys.push
378381
379382 result = @context.in_kwarg
380383 @context.in_kwarg = true
381384 }
382385 p_top_expr_body
383386 {
384387 @pattern_variables.pop
388+ @pattern_hash_keys.pop
385389 @context.in_kwarg = val[2 ]
386390 result = @builder.match_pattern_p (val[0 ], val[1 ], val[3 ])
387391 }
You can’t perform that action at this time.
0 commit comments