summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/glcpp-parse.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-07-28 16:58:39 -0700
committerEric Anholt <[email protected]>2010-07-28 17:32:39 -0700
commitd4a04f315560704bf1103df0b93723e468725df7 (patch)
treeac9d7ed7f333b9ca9ba909292a8d0599e25d562a /src/glsl/glcpp/glcpp-parse.h
parent8605c297cfb8068737991601f163f866395c41c9 (diff)
glcpp: Add __VERSION__ define to the current language version.
Fixes: glsl-version-define glsl-version-define-110 glsl-version-define-120
Diffstat (limited to 'src/glsl/glcpp/glcpp-parse.h')
-rw-r--r--src/glsl/glcpp/glcpp-parse.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.h b/src/glsl/glcpp/glcpp-parse.h
index 6365068ad0c..50758930e9c 100644
--- a/src/glsl/glcpp/glcpp-parse.h
+++ b/src/glsl/glcpp/glcpp-parse.h
@@ -52,24 +52,25 @@
HASH_IFDEF = 268,
HASH_IFNDEF = 269,
HASH_UNDEF = 270,
- IDENTIFIER = 271,
- IF_EXPANDED = 272,
- INTEGER = 273,
- INTEGER_STRING = 274,
- NEWLINE = 275,
- OTHER = 276,
- PLACEHOLDER = 277,
- SPACE = 278,
- PASTE = 279,
- OR = 280,
- AND = 281,
- NOT_EQUAL = 282,
- EQUAL = 283,
- GREATER_OR_EQUAL = 284,
- LESS_OR_EQUAL = 285,
- RIGHT_SHIFT = 286,
- LEFT_SHIFT = 287,
- UNARY = 288
+ HASH_VERSION = 271,
+ IDENTIFIER = 272,
+ IF_EXPANDED = 273,
+ INTEGER = 274,
+ INTEGER_STRING = 275,
+ NEWLINE = 276,
+ OTHER = 277,
+ PLACEHOLDER = 278,
+ SPACE = 279,
+ PASTE = 280,
+ OR = 281,
+ AND = 282,
+ NOT_EQUAL = 283,
+ EQUAL = 284,
+ GREATER_OR_EQUAL = 285,
+ LESS_OR_EQUAL = 286,
+ RIGHT_SHIFT = 287,
+ LEFT_SHIFT = 288,
+ UNARY = 289
};
#endif