@@ -285,7 +285,7 @@ C< :!pair >, and C<< :pair<strval> >>.
285
285
# If we've been called as a subrule, then build a pass-cursor
286
286
# to indicate success and set the hash as the subrule's match object.
287
287
if has_save goto save_hash
288
- ($ P0 , $ I0 ) = self . ' !cursor_start' ()
288
+ ($ P0 , $ S0 , $ I0 ) = self . ' !cursor_start' ()
289
289
$ P0 . ' !cursor_pass' ($ I0 , ' ' )
290
290
setattribute $ P0 , cur_class, ' $!match' , hash
291
291
. return ($ P0 )
@@ -407,7 +407,7 @@ position C<pos>.
407
407
.local string target
408
408
.local int pos
409
409
410
- (cur, pos, target ) = self.'!cursor_start'()
410
+ (cur, target, pos ) = self.'!cursor_start'()
411
411
412
412
.local pmc quotemod, true
413
413
.lex '%*QUOTEMOD', quotemod
@@ -468,7 +468,7 @@ position C<pos>.
468
468
.local int pos
469
469
self = find_lex 'self'
470
470
471
- (cur, pos, target ) = self.'!cursor_start'()
471
+ (cur, target, pos ) = self.'!cursor_start'()
472
472
473
473
$P0 = find_dynamic_lex '$*QUOTE_START'
474
474
if null $P0 goto fail
@@ -491,7 +491,7 @@ position C<pos>.
491
491
.local int pos
492
492
self = find_lex 'self'
493
493
494
- (cur, pos, target ) = self.'!cursor_start'()
494
+ (cur, target, pos ) = self.'!cursor_start'()
495
495
496
496
$P0 = find_dynamic_lex '$*QUOTE_STOP'
497
497
if null $P0 goto fail
@@ -550,8 +550,9 @@ An operator precedence parser.
550
550
preclim = $P0
551
551
552
552
.local pmc here
553
+ .local string tgt
553
554
.local int pos
554
- (here, pos) = self.'!cursor_start'()
555
+ (here, tgt, pos) = self.'!cursor_start'()
555
556
556
557
.local string termishrx
557
558
termishrx = 'termish'
@@ -827,10 +828,11 @@ An operator precedence parser.
827
828
my $ * ACTIONS := % * LANG {$ lang ~ ' -actions' };
828
829
my $ cur := Q : PIR {
829
830
.local pmc self
831
+ .local string tgt
830
832
.local int pos
831
833
self = find_lex 'self'
832
834
$P0 = find_lex '$lang_cursor'
833
- (%r, pos) = self.'!cursor_start'($P0)
835
+ (%r, tgt, pos) = self.'!cursor_start'($P0)
834
836
%r.'!cursor_pos'(pos)
835
837
};
836
838
$cur."$regex"();
0 commit comments