Merge branch 'master' into 2011-09-09-CxScript

This commit is contained in:
Jonathan Turner
2012-05-20 10:48:45 -07:00
2 changed files with 5 additions and 0 deletions

View File

@@ -1837,6 +1837,7 @@ namespace chaiscript
retval = true;
if (Operator_Helper(t_precedence)) {
do {
while (Eol()) {}
if (!Operator(t_precedence+1)) {
throw exception::eval_error("Incomplete "
+ std::string(ast_node_type_to_string(m_operators[t_precedence])) + " expression",