Merge "Provide a description for syntax error"
This commit is contained in:
commit
84e83cc430
@ -108,5 +108,6 @@ def parse_expression(expr):
|
||||
continue
|
||||
|
||||
if result is None:
|
||||
raise SyntaxError()
|
||||
raise SyntaxError(
|
||||
'Syntax is incorrect in expression: {0}'.format(expr))
|
||||
return result
|
||||
|
Loading…
Reference in New Issue
Block a user