diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-18 19:48:17 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-18 19:48:17 +0800 |
commit | d6ec2525926e9cbd3afc4b06ccd0300b05ddb301 (patch) | |
tree | 392fb96c328623e76467817faf231711220fcdbd /util/parsevar.pl | |
parent | 522c7c914b0c8e3400684de08907f9748e42c97b (diff) | |
download | pttbbs-d6ec2525926e9cbd3afc4b06ccd0300b05ddb301.tar pttbbs-d6ec2525926e9cbd3afc4b06ccd0300b05ddb301.tar.gz pttbbs-d6ec2525926e9cbd3afc4b06ccd0300b05ddb301.tar.bz2 pttbbs-d6ec2525926e9cbd3afc4b06ccd0300b05ddb301.tar.lz pttbbs-d6ec2525926e9cbd3afc4b06ccd0300b05ddb301.tar.xz pttbbs-d6ec2525926e9cbd3afc4b06ccd0300b05ddb301.tar.zst pttbbs-d6ec2525926e9cbd3afc4b06ccd0300b05ddb301.zip |
fix util merging error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1107 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/parsevar.pl')
-rw-r--r-- | util/parsevar.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/parsevar.pl b/util/parsevar.pl index d532c786..fe2f2dc0 100644 --- a/util/parsevar.pl +++ b/util/parsevar.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: parsevar.pl,v 1.2 2003/06/20 22:06:30 in2 Exp $ +# $Id$ print << '.'; /* * This header file is auto-generated from pttbbs/mbbsd/var.c . @@ -16,7 +16,7 @@ while( <> ){ $_ = substr($_, 0, index($_, '=') - 1) if( index($_, '=') != -1 ); $_ .= ';' if( index($_, ';') == -1 ); print "extern $_\n"; - } elsif( /^\#/ && !/include/ ){ + } elsif( /^\s*\#/ && !/include/ ){ print; } } |