Remove #include from expand_macros.pl input

This commit is contained in:
Pragmatic Software 2013-11-28 05:25:54 +00:00
parent d5d4d503b2
commit b042e073db
2 changed files with 5 additions and 1 deletions

View File

@ -13,7 +13,7 @@ use warnings;
# These are set automatically by the build/commit script
use constant {
BUILD_NAME => "PBot",
BUILD_REVISION => 473,
BUILD_REVISION => 474,
BUILD_DATE => "2013-11-27",
};

View File

@ -156,6 +156,10 @@ while($code =~ m/(.)/msg) {
print "code after \\n additions: [$code]\n" if $debug;
$code =~ s/#include [<"'].*?['">]//gm;
print "code after include removal: [$code]\n" if $debug;
my $precode = $code;
$code = '';