mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
a70547f3ae
Don't use a redundant "const" for macros_t (which is const unsigned char), since OpenWatcom doesn't like it, and I believe it is incorrect per the C standard.
29 lines
726 B
C
29 lines
726 B
C
/* 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
|
|
* redistributable under the license given in the file "LICENSE"
|
|
* distributed in the NASM archive.
|
|
*/
|
|
|
|
#ifndef NASM_PREPROC_H
|
|
#define NASM_PREPROC_H
|
|
|
|
#include "pptok.h"
|
|
|
|
extern const char * const pp_directives[];
|
|
extern const uint8_t pp_directives_len[];
|
|
|
|
/* Pointer to a macro chain */
|
|
typedef const unsigned char macros_t;
|
|
|
|
enum preproc_token pp_token_hash(const char *token);
|
|
void pp_include_path(char *);
|
|
void pp_pre_include(char *);
|
|
void pp_pre_define(char *);
|
|
void pp_pre_undefine(char *);
|
|
void pp_runtime(char *);
|
|
void pp_extra_stdmac(macros_t *);
|
|
|
|
#endif
|