tokenize_asoft: fix handling of linefeeds inside of open quotes

was breaking the z output
This commit is contained in:
Vince Weaver 2021-08-05 01:11:33 -04:00
parent 2977ac19c2
commit 628513d1c1

View File

@ -145,6 +145,12 @@ static int find_token(void) {
return 0;
}
/* end quote if end of line */
if (in_quotes && (ch=='\n')) {
in_quotes=0;
return 0;
}
/* don't skip whitespace in quotes or remarks */
if ((!in_quotes)&&(!in_rem)) {
while(ch<=' ') {