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
|
2007-12-29 22:44:23 +08:00
|
|
|
* redistributable under the license given in the file "LICENSE"
|
2002-05-01 04:51:32 +08:00
|
|
|
* distributed in the NASM archive.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NASM_PARSER_H
|
|
|
|
#define NASM_PARSER_H
|
|
|
|
|
2007-10-04 12:30:57 +08:00
|
|
|
void parser_global_info(struct ofmt *output, struct location * locp);
|
2007-04-14 00:47:53 +08:00
|
|
|
insn *parse_line(int pass, char *buffer, insn * result,
|
2005-01-16 06:15:51 +08:00
|
|
|
efunc error, evalfunc evaluate, ldfunc ldef);
|
|
|
|
void cleanup_insn(insn * instruction);
|
2002-05-01 04:51:32 +08:00
|
|
|
|
|
|
|
#endif
|