From: Hartmut Holzgraefe Date: Sat, 21 Jun 2003 19:25:31 +0000 (+0000) Subject: test script tags are found but not used yet X-Git-Tag: RELEASE_1_0_2~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7319c5132bc3e35a4311235950e441046184cc95;p=php test script tags are found but not used yet double quotes in extensions summary line are now escaped in code generation --- diff --git a/scripts/ext_skel_ng/extension_parser.php b/scripts/ext_skel_ng/extension_parser.php index 3a4a17dc15..30793a3407 100644 --- a/scripts/ext_skel_ng/extension_parser.php +++ b/scripts/ext_skel_ng/extension_parser.php @@ -325,6 +325,30 @@ // }}} + // {{{ Tests + function handle_tests_test($attr) { + } + + function handle_tests_test_title($attr) { + } + + function handle_tests_test_skipif($attr) { + } + + function handle_tests_test_post($attr) { + } + + function handle_tests_test_get($attr) { + } + + function handle_tests_test_code($attr) { + } + + function handle_tests_test_output($attr) { + } + + // }}} + // }}} // {{{ output generation @@ -532,7 +556,7 @@ zend_module_entry {$name}_module_entry = { foreach ($this->globals as $global) { $code .= $global->c_code($this->name); } - $code .= php_global::c_code_footer(); + $code .= php_global::c_code_footer($this->name); } return $code; @@ -836,7 +860,7 @@ PHP_MINFO_FUNCTION({$this->name}) } if (isset($this->summary)) { - $code .= " php_printf(\"

{$this->summary}

\\n\");\n"; + $code .= " php_printf(\"

".str_replace('"','\\"',$this->summary)."

\\n\");\n"; } if (isset($this->release)) { $code .= " php_printf(\"

Version {$this->release['version']}{$this->release['state']} ({$this->release['date']})

\\n\");\n";