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:
parent
f583f214d5
commit
0742e0acd3
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue