mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-11-08 14:22:38 +00:00
tokenize_asoft: fix handling of linefeeds inside of open quotes
was breaking the z output
This commit is contained in:
@@ -145,6 +145,12 @@ static int find_token(void) {
|
|||||||
return 0;
|
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 */
|
/* don't skip whitespace in quotes or remarks */
|
||||||
if ((!in_quotes)&&(!in_rem)) {
|
if ((!in_quotes)&&(!in_rem)) {
|
||||||
while(ch<=' ') {
|
while(ch<=' ') {
|
||||||
|
|||||||
Reference in New Issue
Block a user