File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2579,9 +2579,9 @@ grammar P6 is STD {
2579
2579
<.ws >
2580
2580
[ <?[ \[ \{ \( \< ] > <.obs (' brackets around replacement' , ' assignment syntax' )> ]?
2581
2581
[ <infixish > || <panic : "Missing assignment operator" > ]
2582
- [ <?{ $ < infixish > . Str eq ' =' || $ < infixish > . <infix_postfix_meta_operator > }> || <.panic : "Malformed assignment operator" > ]
2582
+ [ <?{ $ < infixish > . Str eq ' =' || $ < infixish > . <infix_postfix_meta_operator > }> . Str eq '=' || <.panic : "Malformed assignment operator" > ]
2583
2583
<.ws >
2584
- <right = EXPR (item % item_assignment )>
2584
+ [ <right = EXPR (item % item_assignment )> || < .panic : "Assignment operator missing its expression" > ]
2585
2585
||
2586
2586
{ $ lang = $ lang2 . unbalanced($ stop ); }
2587
2587
<right = .nibble ($ lang )> $ stop || <.panic : "Malformed replacement part; couldn't find final $stop" >
You can’t perform that action at this time.
0 commit comments