(parse_amount): Don't interpret an initial opening parenthesis as

inline math, but rather see it as introducing a value expression.
This commit is contained in:
John Wiegley 2006-02-24 09:33:22 +00:00
parent 2209249974
commit 3dcfed2c4c

View file

@ -131,7 +131,7 @@ void parse_amount(const char * text, amount_t& amt, unsigned short flags,
{
char * altbuf = NULL;
if (*text) {
if (*text && *text != '(') {
bool in_quote = false;
for (const char * p = text + 1; *p; p++)
if (*p == '"') {