Build: Attempt better support for VS 2012.

Fix #1020. Fix #1021. Fix #1022.
This commit is contained in:
John Kessenich 2017-08-25 21:09:15 -06:00
parent 74c5f711b4
commit 8268a35504
4 changed files with 10 additions and 6 deletions

View file

@ -76,6 +76,7 @@ public:
EProfile profile, const SpvVersion& spvVersion, EShLanguage language,
TInfoSink& infoSink, bool forwardCompatible, EShMessages messages)
: TParseVersions(interm, version, profile, spvVersion, language, infoSink, forwardCompatible, messages),
scopeMangler("::"),
symbolTable(symbolTable),
statementNestingLevel(0), loopNestingLevel(0), structNestingLevel(0), controlFlowNestingLevel(0),
postEntryPointReturn(false),
@ -143,7 +144,7 @@ public:
virtual bool lValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*);
virtual void rValueErrorCheck(const TSourceLoc&, const char* op, TIntermTyped*);
const char* const scopeMangler = "::";
const char* const scopeMangler;
// Basic parsing state, easily accessible to the grammar