summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp/sl_pp_dict.h
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-09-17 12:12:34 +0200
committerMichal Krol <[email protected]>2009-09-17 12:12:34 +0200
commitce8f486156f5c4b28b51954ea862675275c38f6d (patch)
tree246d6a675c01d4350de0f8cd8d8622ea60311713 /src/glsl/pp/sl_pp_dict.h
parent0ddf41d34d511b339e0bb5a59673765f1bf0b3a5 (diff)
slang/pp: Use a dictionary for the remaining string literals.
Diffstat (limited to 'src/glsl/pp/sl_pp_dict.h')
-rw-r--r--src/glsl/pp/sl_pp_dict.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_dict.h b/src/glsl/pp/sl_pp_dict.h
index ce138d98f51..ba82b389b23 100644
--- a/src/glsl/pp/sl_pp_dict.h
+++ b/src/glsl/pp/sl_pp_dict.h
@@ -37,6 +37,33 @@ struct sl_pp_dict {
int enable;
int warn;
int disable;
+
+ int defined;
+
+ int ___LINE__;
+ int ___FILE__;
+ int __VERSION__;
+
+ int optimize;
+ int debug;
+
+ int off;
+ int on;
+
+ int define;
+ int elif;
+ int _else;
+ int endif;
+ int error;
+ int extension;
+ int _if;
+ int ifdef;
+ int ifndef;
+ int line;
+ int pragma;
+ int undef;
+
+ int version;
};