1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-19 14:29:40 +00:00

Made the C preprocessor #if nesting stack have 256 levels.

Closes #1523.
This commit is contained in:
Greg King 2021-05-30 03:51:11 -04:00
parent ee5014c595
commit 0d3c827d80

View File

@ -71,7 +71,7 @@
unsigned char Preprocessing = 0; unsigned char Preprocessing = 0;
/* Management data for #if */ /* Management data for #if */
#define MAX_IFS 64 #define MAX_IFS 256
#define IFCOND_NONE 0x00U #define IFCOND_NONE 0x00U
#define IFCOND_SKIP 0x01U #define IFCOND_SKIP 0x01U
#define IFCOND_ELSE 0x02U #define IFCOND_ELSE 0x02U