diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index 96e444dd..2bee0fd4 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -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", }; diff --git a/modules/expand_macros.pl b/modules/expand_macros.pl index ff64c26a..e256cda0 100755 --- a/modules/expand_macros.pl +++ b/modules/expand_macros.pl @@ -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 = '';