Put all glslang internals (but not the external interface) into the glslang namespace.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22882 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
23bdb29eac
commit
b603f918a4
55 changed files with 511 additions and 463 deletions
|
|
@ -230,10 +230,6 @@ bool ScanVersion(TInputScanner& input, int& version, EProfile& profile)
|
|||
return foundNonSpaceTab;
|
||||
}
|
||||
|
||||
}; // end glslang namespace
|
||||
|
||||
namespace glslang {
|
||||
|
||||
// Fill this in when doing glslang-level scanning, to hand back to the parser.
|
||||
class TParserToken {
|
||||
public:
|
||||
|
|
@ -242,10 +238,10 @@ public:
|
|||
YYSTYPE& sType;
|
||||
};
|
||||
|
||||
}; // end namespace glslang
|
||||
} // end namespace glslang
|
||||
|
||||
// This is the function the glslang parser (i.e., bison) calls to get its next token
|
||||
int yylex(YYSTYPE* glslangTokenDesc, TParseContext& parseContext)
|
||||
int yylex(YYSTYPE* glslangTokenDesc, glslang::TParseContext& parseContext)
|
||||
{
|
||||
glslang::TParserToken token(*glslangTokenDesc);
|
||||
|
||||
|
|
@ -1012,4 +1008,4 @@ int TScanContext::secondGenerationImage()
|
|||
return identifierOrType();
|
||||
}
|
||||
|
||||
};
|
||||
} // end namespace glslang
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue