mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-26 11:30:12 +00:00
tokenize_asoft: fix handling of linefeeds inside of open quotes
was breaking the z output
This commit is contained in:
parent
2977ac19c2
commit
628513d1c1
@ -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<=' ') {
|
||||
|
Loading…
Reference in New Issue
Block a user