summaryrefslogtreecommitdiff
path: root/preproc.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2012-05-06 20:49:24 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2012-05-06 20:49:24 +0400
commit60941660441b2f3ade014be800f1df23bea8d280 (patch)
treee1efbea4b22b67810ccd9f1cca3ee3f5845908c6 /preproc.c
parent194563915dc7754a91daba2e552212416d5c519f (diff)
downloadnasm-60941660441b2f3ade014be800f1df23bea8d280.tar.gz
nasm-60941660441b2f3ade014be800f1df23bea8d280.tar.bz2
nasm-60941660441b2f3ade014be800f1df23bea8d280.zip
preproc: Drop never used pp_runtime
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'preproc.c')
-rw-r--r--preproc.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/preproc.c b/preproc.c
index 78a71a3..0a02f54 100644
--- a/preproc.c
+++ b/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;