projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaa31bf
)
glsl: Fix parser rule for type_specifier
author
Chad Versace
<chad.versace@intel.com>
Mon, 17 Jan 2011 06:08:56 +0000
(22:08 -0800)
committer
Chad Versace
<chad.versace@intel.com>
Mon, 17 Jan 2011 17:41:25 +0000
(09:41 -0800)
Do not assign a value to ast_type_specifier::precision when no precision
qualifier is present.
src/glsl/glsl_parser.ypp
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_parser.ypp
b/src/glsl/glsl_parser.ypp
index 124ee18356db785892569ddf72a090bffdd11559..903d3f099032d57f9e19f514688136002fb38775 100644
(file)
--- a/
src/glsl/glsl_parser.ypp
+++ b/
src/glsl/glsl_parser.ypp
@@
-1195,6
+1195,9
@@
storage_qualifier:
type_specifier:
type_specifier_no_prec
+ {
+ $$ = $1;
+ }
| precision_qualifier type_specifier_no_prec
{
$$ = $2;