Merge pull request #2641 from tgfrerer/fix_hlsl_function_error_msg

fix error message for hlslGrammar::acceptConstructor
This commit is contained in:
Greg Fischer 2021-05-11 13:50:53 -06:00 committed by GitHub
commit 202c8abae0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
117 changed files with 6243 additions and 6243 deletions

View file

@ -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;
}