2002-05-01 04:52:08 +08:00
|
|
|
/* preproc.h header file for preproc.c
|
|
|
|
*
|
|
|
|
* 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:52:08 +08:00
|
|
|
* distributed in the NASM archive.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NASM_PREPROC_H
|
|
|
|
#define NASM_PREPROC_H
|
|
|
|
|
2007-09-12 09:29:43 +08:00
|
|
|
#include "pptok.h"
|
|
|
|
|
|
|
|
extern const char * const pp_directives[];
|
2008-06-22 09:18:41 +08:00
|
|
|
extern const uint8_t pp_directives_len[];
|
2007-09-12 09:29:43 +08:00
|
|
|
|
2008-06-21 06:20:16 +08:00
|
|
|
/* Pointer to a macro chain */
|
2008-06-26 05:54:14 +08:00
|
|
|
typedef const unsigned char macros_t;
|
2008-06-21 06:20:16 +08:00
|
|
|
|
2007-09-12 09:29:43 +08:00
|
|
|
enum preproc_token pp_token_hash(const char *token);
|
2007-04-14 00:47:53 +08:00
|
|
|
void pp_include_path(char *);
|
|
|
|
void pp_pre_include(char *);
|
|
|
|
void pp_pre_define(char *);
|
|
|
|
void pp_pre_undefine(char *);
|
|
|
|
void pp_runtime(char *);
|
2008-07-20 12:44:26 +08:00
|
|
|
void pp_extra_stdmac(macros_t *);
|
2002-05-01 04:52:26 +08:00
|
|
|
|
2002-05-01 04:52:08 +08:00
|
|
|
#endif
|