mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-19 18:00:23 +08:00
Constipate the stdmac[] array.
This commit is contained in:
parent
927c92b478
commit
188ce76c46
@ -19,7 +19,11 @@ undef $tasm_count;
|
||||
open(OUTPUT,">macros.c") or die "unable to open macros.c\n";
|
||||
|
||||
print OUTPUT "/* This file auto-generated from standard.mac by macros.pl" .
|
||||
" - don't edit it */\n\n#include \"compiler.h\"\n\nstatic const char *stdmac[] = {\n";
|
||||
" - don't edit it */\n";
|
||||
print OUTPUT "\n";
|
||||
print OUTPUT "#include \"compiler.h\"\n";
|
||||
print OUTPUT "\n";
|
||||
print OUTPUT "static const char * const stdmac[] = {\n";
|
||||
|
||||
foreach $fname ( @ARGV ) {
|
||||
open(INPUT,$fname) or die "unable to open $fname\n";
|
||||
|
@ -356,13 +356,13 @@ static MMacro *defining;
|
||||
* gives our position in the macro set, when we're processing it.
|
||||
*/
|
||||
#include "macros.c"
|
||||
static const char **stdmacpos;
|
||||
static const char * const *stdmacpos;
|
||||
|
||||
/*
|
||||
* The extra standard macros that come from the object format, if
|
||||
* any.
|
||||
*/
|
||||
static const char **extrastdmac = NULL;
|
||||
static const char * const *extrastdmac = NULL;
|
||||
bool any_extrastdmac;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user