symbol parsing improvement

This gets rid of a FIXME and K4056 internal bug report.

Allow the comma to be quoted as follows:
     SYMBOLS=S_ice:\,
or
     SYMBOLS=S_ice:','

Disclaimer:
The use of the comma on the map could conflict with future
use of that currently unused symbol for other intended purposes.
This commit is contained in:
nhmall
2023-12-04 14:20:07 -05:00
parent b0f5ad13e1
commit 418953e0e6
2 changed files with 30 additions and 10 deletions

View File

@@ -6491,6 +6491,8 @@ escapes(const char *cp, /* might be 'tp', updating in place */
case 'r':
cval = '\r';
break;
case ',':
cval = ',';
default:
cval = *cp;
}