From 8734e863c2b583551f86f395e0a958a76d6ff20a Mon Sep 17 00:00:00 2001 From: izydorst Date: Tue, 19 Jul 2005 13:05:59 +0000 Subject: [PATCH] - do not remove commas from quoted text (Stefan Haubenthal) git-svn-id: svn://svn.cc65.org/cc65/trunk@3531 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/grc/grc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grc/grc.c b/src/grc/grc.c index a05b08109..fa884f411 100644 --- a/src/grc/grc.c +++ b/src/grc/grc.c @@ -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++; -- 2.39.5