glsl/glcpp: Minor tweak to wording of error message
It makes more sense to print the directive name with the preceding '#'. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -2119,7 +2119,7 @@ _glcpp_parser_skip_stack_change_if (glcpp_parser_t *parser, YYLTYPE *loc,
|
||||
const char *type, int condition)
|
||||
{
|
||||
if (parser->skip_stack == NULL) {
|
||||
glcpp_error (loc, parser, "%s without #if\n", type);
|
||||
glcpp_error (loc, parser, "#%s without #if\n", type);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user