glsl: Fix copy and paste error in ast_bit_and node creation.

All & operations were incorrectly being generated as ast_bit_or.
This commit is contained in:
Kenneth Graunke 2010-10-18 17:25:52 -07:00
parent 4af2937416
commit 0eb0b44647
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@ and_expression:
| and_expression '&' equality_expression
{
void *ctx = state;
$$ = new(ctx) ast_expression_bin(ast_bit_or, $1, $3);
$$ = new(ctx) ast_expression_bin(ast_bit_and, $1, $3);
$$->set_location(yylloc);
}
;