In read_string(), when the last character was a backslash, unincrement
the output index instead of keeping what ever trash was in the buffer. Reported by: iedowse
This commit is contained in:
parent
6ae27cb6ce
commit
753d6c0327
@ -236,6 +236,7 @@ read_string(FILE *cfile)
|
||||
}
|
||||
if (bs) {
|
||||
bs = 0;
|
||||
i--;
|
||||
tokbuf[i] = c;
|
||||
} else if (c == '\\')
|
||||
bs = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user