summaryrefslogtreecommitdiff
path: root/parser.h
blob: 0ebc19f3fe7bc2b280314aa91dc35826d6620c06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* parser.h   header file for the parser module of the Netwide
 *            Assembler
 *
 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
 * Julian Hall. All rights reserved. The software is
 * redistributable under the license given in the file "LICENSE"
 * distributed in the NASM archive.
 */

#ifndef NASM_PARSER_H
#define NASM_PARSER_H

void parser_global_info(struct ofmt *output, struct location * locp);
insn *parse_line(int pass, char *buffer, insn * result,
                 efunc error, evalfunc evaluate, ldfunc ldef);
void cleanup_insn(insn * instruction);

#endif