summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/glcpp-parse.y
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2014-06-20 19:11:27 -0700
committerCarl Worth <[email protected]>2014-07-29 15:11:49 -0700
commit0742e0acd302d90dd7f326cf641da61ac60a8508 (patch)
treebac0153b80470893d94f6b588b5c68d3ae3c8a49 /src/glsl/glcpp/glcpp-parse.y
parentf583f214d5b8292aca91ec2217296b7ed17d9df4 (diff)
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 <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/glcpp-parse.y')
-rw-r--r--src/glsl/glcpp/glcpp-parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index a93c1e359f4..840003b226e 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -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;
}