pull/3/head
whitequark 2015-07-10 15:58:26 +03:00
parent 62af550c0b
commit 3a42a8d8cb
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ Expr *Expr::From(const char *in, bool popUpError) {
Lex(in);
Parse();
r = PopOperand();
} catch (char *e) {
} catch (const char *e) {
dbp("exception: parse/lex error: %s", e);
if(popUpError) {
Error("Not a valid number or expression: '%s'", in);