Fix #800 (mostly): set of Linux warnings.
This commit is contained in:
parent
9fb31ce8ec
commit
aa3c64c214
7 changed files with 11 additions and 12 deletions
|
|
@ -1829,7 +1829,7 @@ bool HlslGrammar::acceptStruct(TType& type, TIntermNode*& nodeList)
|
|||
TVector<TFunctionDeclarator> functionDeclarators;
|
||||
|
||||
parseContext.pushNamespace(structName);
|
||||
bool acceptedList = acceptStructDeclarationList(typeList, nodeList, structName, functionDeclarators);
|
||||
bool acceptedList = acceptStructDeclarationList(typeList, nodeList, functionDeclarators);
|
||||
parseContext.popNamespace();
|
||||
|
||||
if (! acceptedList) {
|
||||
|
|
@ -1988,7 +1988,7 @@ bool HlslGrammar::acceptStructBufferType(TType& type)
|
|||
// | IDENTIFIER array_specifier post_decls
|
||||
// | IDENTIFIER function_parameters post_decls // member-function prototype
|
||||
//
|
||||
bool HlslGrammar::acceptStructDeclarationList(TTypeList*& typeList, TIntermNode*& nodeList, const TString& typeName,
|
||||
bool HlslGrammar::acceptStructDeclarationList(TTypeList*& typeList, TIntermNode*& nodeList,
|
||||
TVector<TFunctionDeclarator>& declarators)
|
||||
{
|
||||
typeList = new TTypeList();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue