mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
support #IF(ccc)
This commit is contained in:
parent
9165fc200e
commit
1e0d4a90e8
@ -1359,7 +1359,7 @@ PP_CONDITIONAL:
|
|||||||
fragment
|
fragment
|
||||||
IF_TOKEN
|
IF_TOKEN
|
||||||
@init { bool process = true; }:
|
@init { bool process = true; }:
|
||||||
('#' TS* 'if' TS+ ppe = PP_EXPRESSION)
|
('#' TS* 'if' TS* ppe = PP_EXPRESSION)
|
||||||
{
|
{
|
||||||
// if our parent is processing check this if
|
// if our parent is processing check this if
|
||||||
Debug.Assert(Processing.Count > 0, "Stack underflow preprocessing. IF_TOKEN");
|
Debug.Assert(Processing.Count > 0, "Stack underflow preprocessing. IF_TOKEN");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user