From 094a9c133d2d38624b3c12a4e9d80438c9028131 Mon Sep 17 00:00:00 2001 From: Ferdinand Calo Date: Thu, 27 Feb 2020 15:27:26 +0100 Subject: [PATCH] Update pb_parser.php --- pb4php/parser/pb_parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pb4php/parser/pb_parser.php b/pb4php/parser/pb_parser.php index 1dd4b93..59ffbfc 100644 --- a/pb4php/parser/pb_parser.php +++ b/pb4php/parser/pb_parser.php @@ -306,7 +306,7 @@ private function _parse_enum($content) $myarray = array(); $match = preg_match_all('/(.*);\s?/', $content, $matches); if (!$match) { - throw new Execption('Semantic error in Enum!'); + throw new Exception('Semantic error in Enum!'); } foreach ($matches[1] as $match) { $split = explode("=", $match);