Merge pull request #406 from steve-lunarg/pp_line

HLSL: enable #line extension by default for HLSL source.
This commit is contained in:
John Kessenich 2016-07-26 09:39:48 -06:00 committed by GitHub
commit 64723c20b5
6 changed files with 160 additions and 2 deletions

View file

@ -119,12 +119,12 @@ public:
TIntermediate& intermediate; // helper for making and hooking up pieces of the parse tree
protected:
TMap<TString, TExtensionBehavior> extensionBehavior; // for each extension string, what its current behavior is set to
EShMessages messages; // errors/warnings/rule-sets
int numErrors; // number of compile-time errors encountered
TInputScanner* currentScanner;
private:
TMap<TString, TExtensionBehavior> extensionBehavior; // for each extension string, what its current behavior is set to
explicit TParseVersions(const TParseVersions&);
TParseVersions& operator=(const TParseVersions&);
};