blob: e3502e3604d1294fa74a889867593ed5274539d5 [file] [log] [blame]
H. Peter Anvind7ed89e2002-04-30 20:52:08 +00001/* parser.h header file for the parser module of the Netwide
2 * Assembler
H. Peter Anvinea6e34d2002-04-30 20:51:32 +00003 *
4 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
5 * Julian Hall. All rights reserved. The software is
6 * redistributable under the licence given in the file "Licence"
7 * distributed in the NASM archive.
8 */
9
10#ifndef NASM_PARSER_H
11#define NASM_PARSER_H
12
H. Peter Anvine2c80182005-01-15 22:15:51 +000013void parser_global_info(struct ofmt *output, loc_t * locp);
Keith Kaniosb7a89542007-04-12 02:40:54 +000014insn *parse_line(int pass, int8_t *buffer, insn * result,
H. Peter Anvine2c80182005-01-15 22:15:51 +000015 efunc error, evalfunc evaluate, ldfunc ldef);
16void cleanup_insn(insn * instruction);
H. Peter Anvinea6e34d2002-04-30 20:51:32 +000017
18#endif