summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_process.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-06-26 12:48:14 +0200
committerMichal Krol <[email protected]>2009-09-07 10:11:54 +0200
commit3dc2b5f71c2a519409becb6c1f177b5981fbacf7 (patch)
treeee06da321dfb52c67bd258a755a595b2f5222189 /src/glsl/pp/sl_pp_process.h
parenta294715612d14d64e12026361ff7cc29321607d6 (diff)
glsl: Implement `undef' preprocessor directive.
Diffstat (limited to 'src/glsl/pp/sl_pp_process.h')
-rw-r--r--src/glsl/pp/sl_pp_process.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_process.h b/src/glsl/pp/sl_pp_process.h
index 66d61496a2d..61e67fef0b7 100644
--- a/src/glsl/pp/sl_pp_process.h
+++ b/src/glsl/pp/sl_pp_process.h
@@ -51,6 +51,12 @@ sl_pp_process_define(struct sl_pp_context *context,
unsigned int last);
int
+sl_pp_process_undef(struct sl_pp_context *context,
+ const struct sl_pp_token_info *input,
+ unsigned int first,
+ unsigned int last);
+
+int
sl_pp_process_if(struct sl_pp_context *context,
const struct sl_pp_token_info *input,
unsigned int first,