diff src/pt-unop.h @ 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 71f068b22fcc
children 3100283874d7
line wrap: on
line diff
--- a/src/pt-unop.h
+++ b/src/pt-unop.h
@@ -54,6 +54,8 @@
 
   ~tree_unary_expression (void) { delete op; }
 
+  bool is_unary_expression (void) const { return true; }
+
   bool has_magic_end (void) const { return (op && op->has_magic_end ()); }
 
   tree_expression *operand (void) { return op; }