projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb40f87
)
Core dump from "Missing right brace on \x{}"
author
Gisle Aas
<gisle@aas.no>
Wed, 14 Oct 1998 15:17:44 +0000
(17:17 +0200)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Sat, 17 Oct 1998 04:06:10 +0000
(
04:06
+0000)
Message-ID: <m3iuhn9taf.fsf@furu.g.aas.no>
p4raw-id: //depot/perl@2001
toke.c
patch
|
blob
|
history
diff --git
a/toke.c
b/toke.c
index
88933de
..
8664b8f
100644
(file)
--- a/
toke.c
+++ b/
toke.c
@@
-1076,8
+1076,10
@@
scan_const(char *start)
if (*s == '{') {
char* e = strchr(s, '}');
- if (!e)
+ if (!e)
{
yyerror("Missing right brace on \\x{}");
+ e = s;
+ }
if (!utf) {
dTHR;
if (ckWARN(WARN_UTF8))