summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-18 18:49:55 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-18 18:49:55 -0700
commit00444ae04e91cfd14b505e54934aecf4462eadea (patch)
tree7ee1b495a3bb1afe77ab8cb9fec43034f0b0ada9 /nasm.c
parent605f5155eeedea126c4fe4f2387e7a3da0fc3063 (diff)
downloadnasm-00444ae04e91cfd14b505e54934aecf4462eadea.tar.gz
nasm-00444ae04e91cfd14b505e54934aecf4462eadea.tar.bz2
nasm-00444ae04e91cfd14b505e54934aecf4462eadea.zip
Drop efunc and evaluate argument to parse_line()
We never invoked the parser with anything but the default definitions for evaluate and efunc. Unlike the backend, though, we sometimes invoke parse_line() with redefine_label() instead of define_label(). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nasm.c b/nasm.c
index d6db557..5e2e205 100644
--- a/nasm.c
+++ b/nasm.c
@@ -1497,9 +1497,7 @@ static void assemble_file(char *fname, StrList **depend_ptr)
directive);
}
} else { /* it isn't a directive */
-
- parse_line(pass1, line, &output_ins,
- nasm_error, evaluate, def_label);
+ parse_line(pass1, line, &output_ins, def_label);
if (optimizing > 0) {
if (forwref != NULL && globallineno == forwref->lineno) {