comparison src/parse.y @ 7800:5861b95e9879

support for compound operators, implement trans_mul, mul_trans, herm_mul and mul_herm
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 07 May 2008 16:33:15 +0200
parents 6b521b1e3631
children 3e4c9b69069d
comparison
equal deleted inserted replaced
7799:199181592240 7800:5861b95e9879
1908 1908
1909 int l = tok_val->line (); 1909 int l = tok_val->line ();
1910 int c = tok_val->column (); 1910 int c = tok_val->column ();
1911 1911
1912 tree_binary_expression *e 1912 tree_binary_expression *e
1913 = new tree_binary_expression (op1, op2, l, c, t); 1913 = maybe_compound_binary_expression (op1, op2, l, c, t);
1914 1914
1915 return fold (e); 1915 return fold (e);
1916 } 1916 }
1917 1917
1918 // Build a boolean expression. 1918 // Build a boolean expression.