summaryrefslogtreecommitdiff
path: root/parser.h
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 /parser.h
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 'parser.h')
-rw-r--r--parser.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/parser.h b/parser.h
index eb882ed..9b2b6d6 100644
--- a/parser.h
+++ b/parser.h
@@ -39,9 +39,8 @@
#ifndef NASM_PARSER_H
#define NASM_PARSER_H
-void parser_global_info(struct location * locp);
-insn *parse_line(int pass, char *buffer, insn * result,
- efunc error, evalfunc evaluate, ldfunc ldef);
-void cleanup_insn(insn * instruction);
+void parser_global_info(struct location *locp);
+insn *parse_line(int pass, char *buffer, insn *result, ldfunc ldef);
+void cleanup_insn(insn *instruction);
#endif