Commit dd0f6ca1 by Maarten L. Hekkelman

accept more invalid characters, sigh

parent f02ea91b
......@@ -291,7 +291,8 @@ SacParser::CIFToken SacParser::getNextToken()
else if (ch == quoteChar)
state = eStateQuotedStringQuote;
else if (not isAnyPrint(ch))
error("invalid character in quoted string");
std::cerr << "invalid character in quoted string '" << std::string({static_cast<char>(ch)}) << "' (" << ch << ") line: " << mLineNr << std::endl;
// error("invalid character in quoted string");
break;
case eStateQuotedStringQuote:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment