blob: bd1210b205eea8d51af414c06da788fdddea838a [file] [log] [blame]
H. Peter Anvind7ed89e2002-04-30 20:52:08 +00001/* preproc.h header file for preproc.c
2 *
3 * The Netwide Assembler is copyright (C) 1996 Simon Tatham and
4 * Julian Hall. All rights reserved. The software is
Beroset095e6a22007-12-29 09:44:23 -05005 * redistributable under the license given in the file "LICENSE"
H. Peter Anvind7ed89e2002-04-30 20:52:08 +00006 * distributed in the NASM archive.
7 */
8
9#ifndef NASM_PREPROC_H
10#define NASM_PREPROC_H
11
H. Peter Anvin4169a472007-09-12 01:29:43 +000012#include "pptok.h"
13
14extern const char * const pp_directives[];
H. Peter Anvin72edbb82008-06-19 16:00:04 -070015extern const int pp_directives_len[];
H. Peter Anvin4169a472007-09-12 01:29:43 +000016
17enum preproc_token pp_token_hash(const char *token);
Keith Kaniosa6dfa782007-04-13 16:47:53 +000018void pp_include_path(char *);
Keith Kaniosa6dfa782007-04-13 16:47:53 +000019void pp_pre_include(char *);
20void pp_pre_define(char *);
21void pp_pre_undefine(char *);
22void pp_runtime(char *);
23void pp_extra_stdmac(const char **);
H. Peter Anvin6768eb72002-04-30 20:52:26 +000024
H. Peter Anvind7ed89e2002-04-30 20:52:08 +000025#endif