From 3dba9a8614e15292ef27cf81c202a39a37e4fff7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 15 Sep 2011 14:04:51 +0000 Subject: 29776: fix case of double quotes in double-quote-style parsing where end character is something else --- Src/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/lex.c') diff --git a/Src/lex.c b/Src/lex.c index 51aaa76ef..90c4effd9 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1567,7 +1567,7 @@ dquote_parse(char endchar, int sub) err = (!brct-- && math); break; case '"': - if (intick || ((endchar == ']' || !endchar) && !bct)) + if (intick || (endchar != '"' && !bct)) break; if (bct) { add(Dnull); -- cgit 1.4.1