(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:
parent
0876d31157
commit
fc8bbd5815
1 changed files with 1 additions and 1 deletions
|
|
@ -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 == '"') {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue