2002-05-01 04:52:08 +08:00
|
|
|
/* parser.h header file for the parser module of the Netwide
|
|
|
|
* Assembler
|
2002-05-01 04:51:32 +08:00
|
|
|
*
|
|
|
|
* The Netwide Assembler is copyright (C) 1996 Simon Tatham and
|
|
|
|
* Julian Hall. All rights reserved. The software is
|
|
|
|
* redistributable under the licence given in the file "Licence"
|
|
|
|
* distributed in the NASM archive.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NASM_PARSER_H
|
|
|
|
#define NASM_PARSER_H
|
|
|
|
|
2002-05-01 04:53:55 +08:00
|
|
|
void parser_global_info (struct ofmt *output, loc_t *locp);
|
2002-05-01 04:52:49 +08:00
|
|
|
insn *parse_line (int pass, char *buffer, insn *result,
|
2002-05-01 04:53:55 +08:00
|
|
|
efunc error, evalfunc evaluate, ldfunc ldef);
|
2002-05-01 04:51:32 +08:00
|
|
|
void cleanup_insn (insn *instruction);
|
|
|
|
|
|
|
|
#endif
|