Skip to content
Permalink
Browse files
First work on #if directive.
Largely this is parsing expressions to RPN format, so next we can reduce to a
 constant value and make branching decisions. We don't parse the RPN yet,
 though.
  • Loading branch information
icculus committed Feb 23, 2009
1 parent 887cf43 commit 20e61675f7d3385a40e0940a91b7f699926a5a98

File 1 of 2 in 20e6167

@@ -371,6 +371,8 @@ typedef enum
TOKEN_PP_ENDIF,
TOKEN_PP_ERROR, // caught, becomes TOKEN_PREPROCESSING_ERROR
TOKEN_INCOMPLETE_COMMENT, // caught, becomes TOKEN_PREPROCESSING_ERROR
TOKEN_PP_UNARY_MINUS, // used internally, never returned.
TOKEN_PP_UNARY_PLUS, // used internally, never returned.
} Token;


0 comments on commit 20e6167

Please sign in to comment.