summaryrefslogtreecommitdiff
path: root/macros.pl
diff options
context:
space:
mode:
Diffstat (limited to 'macros.pl')
-rwxr-xr-xmacros.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/macros.pl b/macros.pl
index cfddb6ad..5429a5ea 100755
--- a/macros.pl
+++ b/macros.pl
@@ -56,6 +56,8 @@ foreach $fname ( @ARGV ) {
push(@pkg_list, $pkg);
$pkg_number{$pkg} = $npkg++;
$pkg_index{$pkg} = $index;
+ printf OUT " /* %4d */ \"\\x%02x\"\"%s\",\n",
+ $index++, $pptok_hash{'%define'}+128, "__USE_\U$pkg\E__";
} elsif (m/^\s*((\s*([^\"\';\s]+|\"[^\"]*\"|\'[^\']*\'))*)\s*(;.*)?$/) {
my $s1, $s2, $pd, $ws;
$s1 = $1;