summaryrefslogtreecommitdiff
path: root/src/glsl/glcpp/glcpp-parse.y
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-07-28 11:07:46 -0700
committerCarl Worth <cworth@cworth.org>2010-07-28 11:07:46 -0700
commit2233d10442f1e19d18693fc030aefe292b14cf29 (patch)
treea0dd7e42aa73b437902dab69549bd4b58d30e805 /src/glsl/glcpp/glcpp-parse.y
parentf9b0e5e322a676cf778dc3785281040fcc0bd248 (diff)
glcpp: Remove 2 shift/reduce conflicts from the grammar.
Since we have productions to turn "defined FOO" and "defined ( FOO )" into a conditional_token we don't need to list DEFINED as an operator as well. Doing so just introduces the shift/reduce ambiguity with no benefit.
Diffstat (limited to 'src/glsl/glcpp/glcpp-parse.y')
-rw-r--r--src/glsl/glcpp/glcpp-parse.y1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/glcpp/glcpp-parse.y b/src/glsl/glcpp/glcpp-parse.y
index 5b7467836d..3322db06ed 100644
--- a/src/glsl/glcpp/glcpp-parse.y
+++ b/src/glsl/glcpp/glcpp-parse.y
@@ -478,7 +478,6 @@ operator:
| ',' { $$ = ','; }
| '=' { $$ = '='; }
| PASTE { $$ = PASTE; }
-| DEFINED { $$ = DEFINED; }
;
%%