mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-01-30 16:41:05 +08:00
preproc: Drop never used pp_runtime
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
194563915d
commit
6094166044
20
preproc.c
20
preproc.c
@ -5140,26 +5140,6 @@ void pp_pre_undefine(char *definition)
|
||||
predef = l;
|
||||
}
|
||||
|
||||
/*
|
||||
* Added by Keith Kanios:
|
||||
*
|
||||
* This function is used to assist with "runtime" preprocessor
|
||||
* directives. (e.g. pp_runtime("%define __BITS__ 64");)
|
||||
*
|
||||
* ERRORS ARE IGNORED HERE, SO MAKE COMPLETELY SURE THAT YOU
|
||||
* PASS A VALID STRING TO THIS FUNCTION!!!!!
|
||||
*/
|
||||
|
||||
void pp_runtime(char *definition)
|
||||
{
|
||||
Token *def;
|
||||
|
||||
def = tokenize(definition);
|
||||
if (do_directive(def) == NO_DIRECTIVE_FOUND)
|
||||
free_tlist(def);
|
||||
|
||||
}
|
||||
|
||||
void pp_extra_stdmac(macros_t *macros)
|
||||
{
|
||||
extrastdmac = macros;
|
||||
|
Loading…
Reference in New Issue
Block a user