]> granicus.if.org Git - php/commitdiff
test script tags are found but not used yet
authorHartmut Holzgraefe <hholzgra@php.net>
Sat, 21 Jun 2003 19:25:31 +0000 (19:25 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Sat, 21 Jun 2003 19:25:31 +0000 (19:25 +0000)
double quotes in extensions summary line are now escaped in code generation

scripts/ext_skel_ng/extension_parser.php

index 3a4a17dc15335e518352a76e1611d330fc6fcdbe..30793a3407062303a1faab04f8ed0d0de6b6a03f 100644 (file)
 
        // }}} 
 
+       // {{{ 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";