This appears to just be a bug in the nickle code which has been fixed
upstream. This local fix only strips quotes if present, so it will
work with either nickle version unless we have names starting with "
Signed-off-by: Keith Packard <keithp@keithp.com>
lineno++;
string line = fgets(f);
- return String::parse_csv(line);
+ string[*] elts = String::parse_csv(line);
+ for (int i = 0; i < dim(elts); i++)
+ if (elts[i][0] == '"')
+ elts[i] = String::dequote(elts[i]);
+ return elts;
}
string[*] header;