summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_token.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-09-04 15:16:21 +0200
committerMichal Krol <[email protected]>2009-09-07 10:12:07 +0200
commit4aa3222df315e3b36c73374e9000a6607c3b995c (patch)
tree6f8fd9d68f913fa9f15e954c7263580ccc164ddc /src/glsl/pp/sl_pp_token.h
parent0d9c5eafeb35fdd2e5009ba0b397d1acdfbd3205 (diff)
glsl: Correctly handle line numbering.
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 {