Non-functional: Rename some entry-point variables to entryPoint, not main.

This commit is contained in:
John Kessenich 2016-11-26 13:31:47 -07:00
parent fca826212c
commit 517fe7a6ad
6 changed files with 17 additions and 17 deletions

View file

@ -193,7 +193,7 @@ protected:
int controlFlowNestingLevel; // 0 if outside all flow control
TList<TIntermSequence*> switchSequenceStack; // case, node, case, case, node, ...; ensure only one node between cases; stack of them for nesting
bool inEntryPoint; // if inside a function, true if the function is the entry point
bool postMainReturn; // if inside a function, true if the function is the entry point and this is after a return statement
bool postEntryPointReturn; // if inside a function, true if the function is the entry point and this is after a return statement
const TType* currentFunctionType; // the return type of the function that's currently being parsed
bool functionReturnsValue; // true if a non-void function has a return
TBuiltInResource resources;