diff --git a/grammar_parser/parser.inc b/grammar_parser/parser.inc index 259ee1c..980c402 100644 --- a/grammar_parser/parser.inc +++ b/grammar_parser/parser.inc @@ -409,7 +409,7 @@ class PGPParser { * * @see set_exception_handler */ - protected function exceptionHandler($exception) { + public function exceptionHandler($exception) { $backtrace = $exception->getTrace(); // Push on top of the backtrace the call that generated the exception. array_unshift($backtrace, array(