Skip to content

Commit

Permalink
test script tags are found but not used yet
Browse files Browse the repository at this point in the history
double quotes in extensions summary line are now escaped in code generation
  • Loading branch information
Hartmut Holzgraefe committed Jun 21, 2003
1 parent 434c849 commit 7319c51
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions scripts/ext_skel_ng/extension_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,30 @@ function handle_globals_phpini($attr) {

// }}}

// {{{ 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
Expand Down Expand Up @@ -532,7 +556,7 @@ function generate_globals_c() {
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;
Expand Down Expand Up @@ -836,7 +860,7 @@ function internal_functions_c() {
}

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";
Expand Down

0 comments on commit 7319c51

Please sign in to comment.