summaryrefslogtreecommitdiff
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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index 2a7b79ea3f..b1f3389b32 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -96,7 +96,6 @@ enum sl_pp_token {
SL_PP_EXTENSION_DISABLE,
SL_PP_LINE,
- SL_PP_FILE,
SL_PP_EOF
};
@@ -108,8 +107,10 @@ union sl_pp_token_data {
char other;
int pragma;
int extension;
- unsigned int line;
- unsigned int file;
+ union {
+ unsigned int lineno: 24;
+ unsigned int fileno: 8;
+ } line;
};
struct sl_pp_token_info {