mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
pp_directives_len can be uint8_t
Save a few hundred bytes...
This commit is contained in:
parent
cda816306d
commit
18ed99daea
2
pptok.pl
2
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user