From 40a3530d8e555dec2a594939ccb7995e6ca25f76 Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Fri, 28 Feb 2003 06:37:05 +0000 Subject: - support for "callback" type - proto syntax errors are now passed back to the top level parser --- scripts/ext_skel_ng/extension_parser.php | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/ext_skel_ng/extension_parser.php') diff --git a/scripts/ext_skel_ng/extension_parser.php b/scripts/ext_skel_ng/extension_parser.php index 3323f52593..dca18325a4 100644 --- a/scripts/ext_skel_ng/extension_parser.php +++ b/scripts/ext_skel_ng/extension_parser.php @@ -196,6 +196,7 @@ $this->private_functions[$attr['name']] = $function; break; case "public": + if(is_string($function->status)) $this->error($function->status." in prototype"); $this->functions[$attr['name']] = $function; break; default: -- cgit v1.2.1