This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b8022
)
Re: your Regexp.patch dated 21.8 [PATCH]
author
Ilya Zakharevich
<ilya@math.berkeley.edu>
Tue, 25 Aug 1998 14:56:06 +0000
(10:56 -0400)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Thu, 24 Sep 1998 08:44:55 +0000
(08:44 +0000)
Message-Id: <
199808251856
.OAA10825@monk.mps.ohio-state.edu>
p4raw-id: //depot/perl@1874
toke.c
patch
|
blob
|
blame
|
history
diff --git
a/toke.c
b/toke.c
index
844b982
..
2518e54
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-976,8
+976,10
@@
scan_const(char *start)
count--;
regparse++;
}
- if (*regparse != ')')
+ if (*regparse != ')') {
+ regparse--; /* Leave one char for continuation. */
yyerror("Sequence (?{...}) not terminated or not {}-balanced");
+ }
while (s < regparse)
*d++ = *s++;
}