summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_context.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-12-19 09:55:27 +0100
committerMichal Krol <[email protected]>2009-12-20 21:18:57 +0100
commite9aa65d2b751f81fecd365fd6a550562417a3ec2 (patch)
tree4d02b2597425e6e71f6616760a9a6a626a9638d2 /src/glsl/pp/sl_pp_context.h
parenta6e663def416f73ea8c0c65e8ee6a4dfaaeffae2 (diff)
glsl/pp: Report correct error line for purify and tokeniser errors.
Diffstat (limited to 'src/glsl/pp/sl_pp_context.h')
-rw-r--r--src/glsl/pp/sl_pp_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_context.h b/src/glsl/pp/sl_pp_context.h
index d95d29e275c..fa939143e9a 100644
--- a/src/glsl/pp/sl_pp_context.h
+++ b/src/glsl/pp/sl_pp_context.h
@@ -71,6 +71,7 @@ struct sl_pp_context {
unsigned int if_value;
char error_msg[SL_PP_MAX_ERROR_MSG];
+ unsigned int error_line;
unsigned int line;
unsigned int file;