Changed the grammar to print the stack trace on failure.