Removed some extraneous code.
This commit is contained in:
parent
c2761f4e90
commit
52524ff2fb
1 changed files with 4 additions and 6 deletions
|
|
@ -159,10 +159,9 @@ expr_t::parser_t::parse_mul_expr(std::istream& in,
|
||||||
if (! node->right())
|
if (! node->right())
|
||||||
throw_(parse_error,
|
throw_(parse_error,
|
||||||
tok.symbol << " operator not followed by argument");
|
tok.symbol << " operator not followed by argument");
|
||||||
|
} else {
|
||||||
tok = next_token(in, tflags);
|
push_token(tok);
|
||||||
}
|
}
|
||||||
push_token(tok);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return node;
|
return node;
|
||||||
|
|
@ -187,10 +186,9 @@ expr_t::parser_t::parse_add_expr(std::istream& in,
|
||||||
if (! node->right())
|
if (! node->right())
|
||||||
throw_(parse_error,
|
throw_(parse_error,
|
||||||
tok.symbol << " operator not followed by argument");
|
tok.symbol << " operator not followed by argument");
|
||||||
|
} else {
|
||||||
tok = next_token(in, tflags);
|
push_token(tok);
|
||||||
}
|
}
|
||||||
push_token(tok);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return node;
|
return node;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue