summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_token.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/pp/sl_pp_token.h')
-rw-r--r--src/glsl/pp/sl_pp_token.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index 7b60183a041..b347e5cf7a9 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -96,6 +96,8 @@ enum sl_pp_token {
SL_PP_EXTENSION_WARN,
SL_PP_EXTENSION_DISABLE,
+ SL_PP_LINE,
+
SL_PP_EOF
};
@@ -105,6 +107,7 @@ union sl_pp_token_data {
char other;
int pragma;
int extension;
+ unsigned int line;
};
struct sl_pp_token_info {