HLSL: Flesh out the loop grammar and productions.
This commit is contained in:
parent
0d2b6de45b
commit
119f8f6906
11 changed files with 645 additions and 2 deletions
|
|
@ -141,6 +141,8 @@ public:
|
|||
|
||||
void nestStatement() { ++statementNestingLevel; }
|
||||
void unnestStatement() { --statementNestingLevel; }
|
||||
void nestLooping() { ++loopNestingLevel; }
|
||||
void unnestLooping() { --loopNestingLevel; }
|
||||
void pushScope() { symbolTable.push(); }
|
||||
void popScope() { symbolTable.pop(0); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue