From 57b6793551d29bad2b3b89f9a3f77a11682ccb48 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 18 Jan 2006 02:43:31 +0000 Subject: Updated phpbuilder and the file list. Added pradolite.php. --- tools/phpbuilder/build.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/phpbuilder/build.php') diff --git a/tools/phpbuilder/build.php b/tools/phpbuilder/build.php index 24626b85..6df74923 100644 --- a/tools/phpbuilder/build.php +++ b/tools/phpbuilder/build.php @@ -38,7 +38,7 @@ $lines=file(SCRIPT_FILES); foreach($lines as $line) { $line=trim($line); - if($line==='') + if($line==='' || $line[0]==='#') continue; echo 'adding '.FRAMEWORK_DIR.'/'.$line."\n"; $input=file_get_contents(FRAMEWORK_DIR.'/'.$line); @@ -50,7 +50,7 @@ foreach($lines as $line) $input=preg_replace('/^(include|include_once)\s*\(.*?;/mu','',$input); //remove internal logging - $input=preg_replace('/^\s*Prado::coreLog.*\s*;\s*$/mu','',$input); + $input=preg_replace('/^\s*Prado::trace.*\s*;\s*$/mu','',$input); $output.=$input; } @@ -80,8 +80,8 @@ function strip_comments($source) } else { // token array list($id, $text) = $token; - switch ($id) { - case T_COMMENT: + switch ($id) { + case T_COMMENT: case T_ML_COMMENT: // we've defined this case T_DOC_COMMENT: // and this // no action on comments -- cgit v1.2.3