summaryrefslogtreecommitdiff
path: root/pptok.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-06-21 18:18:41 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-06-21 18:18:41 -0700
commit18ed99daea99d9a8b159b4243ba37ef3adc88b81 (patch)
tree930c5c05808a0ee57a72ecbe285f2c4e6e4c7c89 /pptok.pl
parentcda816306d437d4b7c170afcd983263b5fb83c17 (diff)
downloadnasm-18ed99daea99d9a8b159b4243ba37ef3adc88b81.tar.gz
nasm-18ed99daea99d9a8b159b4243ba37ef3adc88b81.tar.bz2
nasm-18ed99daea99d9a8b159b4243ba37ef3adc88b81.zip
pp_directives_len can be uint8_t
Save a few hundred bytes...
Diffstat (limited to 'pptok.pl')
-rwxr-xr-xpptok.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pptok.pl b/pptok.pl
index 930030a..117c528 100755
--- a/pptok.pl
+++ b/pptok.pl
@@ -162,7 +162,7 @@ if ($what eq 'c') {
}
print OUT "};\n";
- printf OUT "const int pp_directives_len[%d] = {\n", scalar(@pptok);
+ printf OUT "const uint8_t pp_directives_len[%d] = {\n", scalar(@pptok);
foreach $d (@pptok) {
printf OUT " %d,\n", defined($d) ? length($d)+1 : 0;
}