More prelim testing to isolate repl issue

This commit is contained in:
Jonathan Turner
2009-07-02 22:54:50 +00:00
parent af4b1a2bfb
commit db9442d5a8
4 changed files with 38 additions and 5 deletions

View File

@@ -597,11 +597,11 @@ namespace chaiscript
int prev_stack_top = match_stack.size();
if (Expression()) {
if (Equation()) {
retval = true;
if (Char(',')) {
do {
if (!Expression()) {
if (!Equation()) {
throw Parse_Error("Unexpected value in parameter list", match_stack.back());
}
} while (retval && Char(','));