summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2003-06-21 19:25:31 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2003-06-21 19:25:31 +0000
commit7319c5132bc3e35a4311235950e441046184cc95 (patch)
tree2cb5d5bb761b69c124b9910a402316acb4b8780b /scripts
parent434c849ff00bdbecb73d27a00682dad1af507091 (diff)
downloadphp-git-7319c5132bc3e35a4311235950e441046184cc95.tar.gz
test script tags are found but not used yet
double quotes in extensions summary line are now escaped in code generation
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ext_skel_ng/extension_parser.php28
1 files changed, 26 insertions, 2 deletions
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(\"<p>{$this->summary}</p>\\n\");\n";
+ $code .= " php_printf(\"<p>".str_replace('"','\\"',$this->summary)."</p>\\n\");\n";
}
if (isset($this->release)) {
$code .= " php_printf(\"<p>Version {$this->release['version']}{$this->release['state']} ({$this->release['date']})</p>\\n\");\n";