mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-18 14:30:40 +01:00
Remove #include from expand_macros.pl input
This commit is contained in:
parent
d5d4d503b2
commit
b042e073db
@ -13,7 +13,7 @@ use warnings;
|
|||||||
# These are set automatically by the build/commit script
|
# These are set automatically by the build/commit script
|
||||||
use constant {
|
use constant {
|
||||||
BUILD_NAME => "PBot",
|
BUILD_NAME => "PBot",
|
||||||
BUILD_REVISION => 473,
|
BUILD_REVISION => 474,
|
||||||
BUILD_DATE => "2013-11-27",
|
BUILD_DATE => "2013-11-27",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -156,6 +156,10 @@ while($code =~ m/(.)/msg) {
|
|||||||
|
|
||||||
print "code after \\n additions: [$code]\n" if $debug;
|
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;
|
my $precode = $code;
|
||||||
$code = '';
|
$code = '';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user