From: Jo-Philipp Wich Date: Sun, 17 May 2009 20:00:02 +0000 (+0000) Subject: build: remove debugging code from i18n-scan.pl X-Git-Tag: 0.9.0~442 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7df655af2adc2c04554e60bc8a181ccc831919e4;p=oweals%2Fluci.git build: remove debugging code from i18n-scan.pl --- diff --git a/build/i18n-scan.pl b/build/i18n-scan.pl index 102ae5f7a..03ab0292e 100755 --- a/build/i18n-scan.pl +++ b/build/i18n-scan.pl @@ -71,11 +71,8 @@ if( open F, "find $ARGV[0] -type f -name '*.htm' -or -name '*.lua' |" ) ) /$1 || $2/segx ) { - #$text =~ s/^ .*? (?: (?: translate f? | i18n ) [\s\n]* ( \( ) | ( <%: -? ) ) / $1 || $2 /sex; - #warn "T[$text]"; my $code; - reparse: ( $code, $text ) = extract_codeblock( $text, '', '^', '()' ); if( ! $code ) { ( $code, $text ) = extract_codeblock( $text, '', '^', '<>' ); @@ -91,9 +88,6 @@ if( open F, "find $ARGV[0] -type f -name '*.htm' -or -name '*.lua' |" ) } my ( $k, $v ) = _parse( $code ); - #warn "M[$code]"; - #last; - if( $k && defined($v) ) { if( $v )