small fix in the order-parser (comments)

This commit is contained in:
Enno Rehling 2009-07-15 17:30:39 +00:00
parent 3271f4caf6
commit 89535b0558
1 changed files with 2 additions and 2 deletions

View File

@ -233,12 +233,12 @@ getbuf_utf8(FILE * F)
if (*bp=='"' || *bp=='\'') { if (*bp=='"' || *bp=='\'') {
if (quote==*bp) { if (quote==*bp) {
quote = 0; quote = 0;
if (cp<fbuf+MAXLINE) *cp++ = *bp; if (!comment && cp<fbuf+MAXLINE) *cp++ = *bp;
++bp; ++bp;
continue; continue;
} else if (!quote) { } else if (!quote) {
quote = *bp++; quote = *bp++;
if (cp<fbuf+MAXLINE) *cp++ = quote; if (!comment && cp<fbuf+MAXLINE) *cp++ = quote;
continue; continue;
} }
} }