Fixed a little bug of the main function
To quit the calculator if the parser find a syntax error in the source
file.