Non-functional: Fix commit 98f164ec48.
Fix previous commit to not use tabs and otherwise match local coding conventions better.
This commit is contained in:
@@ -118,9 +118,11 @@ bool HlslParseContext::parseShaderStrings(TPpContext& ppContext, TInputScanner&
|
||||
HlslGrammar grammar(scanContext, *this);
|
||||
if (!grammar.parse())
|
||||
{
|
||||
//Print out a nicer error message that should be formated such that if you click on the message it will take you right to the line through most UIs
|
||||
// Print a message formated such that if you click on the message it will take you right to
|
||||
// the line through most UIs.
|
||||
const glslang::TSourceLoc& sourceLoc = input.getSourceLoc();
|
||||
printf("\n%s(%i): error at column %i, HLSL translation failed.\n", sourceLoc.name, sourceLoc.line, sourceLoc.column);
|
||||
printf("\n%s(%i): error at column %i, HLSL translation failed.\n", sourceLoc.name, sourceLoc.line,
|
||||
sourceLoc.column);
|
||||
}
|
||||
return numErrors == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user