Fix `exit` after previous syntax error in `exit` command. #550

Merged
merged 1 commit into from Apr 25, 2012
Commits on Apr 25, 2012
  1. Fix `exit` after previous syntax error in `exit` command.

    Renato Mascarenhas committed Apr 25, 2012
    Before this commit, the binding stack was cleared before evaluating
    the user-given value for the `exit` command. If a syntax error happened
    when `eval`ing it, the program would still be running with no elements
    in the binding stack, causing next calls of `exit` to fail.