1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-01 08:29:37 +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:
izydorst 2005-07-19 13:05:59 +00:00
parent ee53d95a43
commit 8734e863c2

View File

@ -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++;