mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
- do not remove commas from quoted text (Stefan Haubenthal)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3531 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
ee53d95a43
commit
8734e863c2
@ -617,7 +617,7 @@ int a, prevchar=-1, i=0, bracket=0, quote=1;
|
||||
while (1) {
|
||||
a = getc(F);
|
||||
if ((a=='\n')||(a=='\015')) a = ' ';
|
||||
if (a==',') a = ' ';
|
||||
if (a==',' && quote) a = ' ';
|
||||
if (a=='\042') quote=!quote;
|
||||
if (quote) {
|
||||
if ((a=='{')||(a=='(')) bracket++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user