hholzgra                Sat Jun 21 15:25:31 2003 EDT

  Modified files:              
    /php4/scripts/ext_skel_ng   extension_parser.php 
  Log:
  test script tags are found but not used yet
  double quotes in extensions summary line are now escaped in code generation
  
  
Index: php4/scripts/ext_skel_ng/extension_parser.php
diff -u php4/scripts/ext_skel_ng/extension_parser.php:1.24 
php4/scripts/ext_skel_ng/extension_parser.php:1.25
--- php4/scripts/ext_skel_ng/extension_parser.php:1.24  Fri Jun 20 07:31:43 2003
+++ php4/scripts/ext_skel_ng/extension_parser.php       Sat Jun 21 15:25:31 2003
@@ -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 @@
                                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 @@
     }
 
    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";



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to