Rationalize naming/access to current thread-local-storage scheme. However, the preprocessor tokenizer is not thread-safe, so this may all change.

Also adding missing test.


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22249 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich 2013-07-02 20:18:59 +00:00
parent 1fde51d3fb
commit 73ed17a87b
10 changed files with 48 additions and 21 deletions

View file

@ -185,8 +185,7 @@ int PaParseComment(int &lineno, TParseContext&);
void ResetFlex();
typedef TParseContext* TParseContextPointer;
extern TParseContextPointer& GetGlobalParseContext();
#define GlobalParseContext GetGlobalParseContext()
TParseContextPointer& ThreadLocalParseContext();
typedef struct TThreadParseContextRec
{