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);