tccpp: fix bug in handling of recursive macros

This commit is contained in:
Joe Soroka
2011-02-01 13:23:40 -08:00
parent cf08675702
commit 75c6695932
3 changed files with 47 additions and 2 deletions

1
tcc.h
View File

@ -683,6 +683,7 @@ struct TCCState {
#define TOK_DOTS 0xcc /* three dots */
#define TOK_SHR 0xcd /* unsigned shift right */
#define TOK_PPNUM 0xce /* preprocessor number */
#define TOK_NOSUBST 0xcf /* means following token has already been pp'd */
#define TOK_SHL 0x01 /* shift left */
#define TOK_SAR 0x02 /* signed shift right */