Cleanups found with PMD's CPD

This commit is contained in:
Jason Turner
2016-10-29 09:41:55 -06:00
parent 28122f7cb0
commit 9925b20fad
5 changed files with 32 additions and 132 deletions

View File

@@ -2292,7 +2292,7 @@ namespace chaiscript
throw exception::eval_error("Incomplete '" + oper + "' expression",
File_Position(m_position.line, m_position.col), *m_filename);
}
build_match<eval::Ternary_Cond_AST_Node<Tracer>>(prev_stack_top);
build_match<eval::If_AST_Node<Tracer>>(prev_stack_top);
}
else {
throw exception::eval_error("Incomplete '" + oper + "' expression",