Merge pull request #2641 from tgfrerer/fix_hlsl_function_error_msg
fix error message for hlslGrammar::acceptConstructor
This commit is contained in:
commit
202c8abae0
117 changed files with 6243 additions and 6243 deletions
|
|
@ -3244,7 +3244,7 @@ bool HlslGrammar::acceptConstructor(TIntermTyped*& node)
|
|||
}
|
||||
|
||||
// hook it up
|
||||
node = parseContext.handleFunctionCall(arguments->getLoc(), constructorFunction, arguments);
|
||||
node = parseContext.handleFunctionCall(token.loc, constructorFunction, arguments);
|
||||
|
||||
return node != nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue