mirror of https://git.wuffs.org/MWCC
33 lines
889 B
C
33 lines
889 B
C
#ifndef COMPILER_CPREPTOKENIZER_H
|
|
#define COMPILER_CPREPTOKENIZER_H
|
|
|
|
#include "compiler/common.h"
|
|
#include "compiler/tokens.h"
|
|
|
|
#ifdef __MWERKS__
|
|
#pragma options align=mac68k
|
|
#endif
|
|
|
|
extern short prepskipnextchar(void);
|
|
extern short prepnextchar(void);
|
|
extern short prepnextstringchar(char *str, Boolean flag);
|
|
extern void CPrep_MatchChar(char ch, Boolean flag);
|
|
extern char *CPrep_MatchChar2(char *start, char ch, Boolean flag);
|
|
extern short prepcurchar(void);
|
|
extern char *ReadIdentifier(char *p);
|
|
extern char *CPrep_SkipNewComment(char *str);
|
|
extern Boolean skipendoflinematch(char *str, short token);
|
|
extern void skipendofline(void);
|
|
extern void CPrep_SkipAsmComment(void);
|
|
extern short lookahead(void);
|
|
extern short lookahead_noeol(void);
|
|
extern short lex(void);
|
|
extern short plex(void);
|
|
extern short lexidentifier(void);
|
|
|
|
#ifdef __MWERKS__
|
|
#pragma options align=reset
|
|
#endif
|
|
|
|
#endif
|