summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_token.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-09-04 15:27:08 +0200
committerMichal Krol <[email protected]>2009-09-07 10:12:10 +0200
commita64ba93aab6de7ee2ceb70f39cf2dbe794940c97 (patch)
treed576bc47c543fa6506cb49d506283b4e3e51ecf5 /src/glsl/pp/sl_pp_token.h
parent2d2d6384448baae3c04eced3373d96907def4e13 (diff)
glsl: Handle file numbering.
Diffstat (limited to 'src/glsl/pp/sl_pp_token.h')
-rw-r--r--src/glsl/pp/sl_pp_token.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index b347e5cf7a9..59019593839 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -97,6 +97,7 @@ enum sl_pp_token {
SL_PP_EXTENSION_DISABLE,
SL_PP_LINE,
+ SL_PP_FILE,
SL_PP_EOF
};
@@ -108,6 +109,7 @@ union sl_pp_token_data {
int pragma;
int extension;
unsigned int line;
+ unsigned int file;
};
struct sl_pp_token_info {