diff src/pt-binop.h @ 4267:7cd865a8c815

[project @ 2003-01-03 15:27:05 by jwe]
author jwe
date Fri, 03 Jan 2003 15:27:06 +0000
parents 5719210fff4c
children e35b034d3523
line wrap: on
line diff
--- a/src/pt-binop.h
+++ b/src/pt-binop.h
@@ -62,6 +62,12 @@
       delete op_rhs;
     }
 
+  bool has_magic_end (void) const
+    {
+      return ((op_lhs && op_lhs->has_magic_end ())
+	      || (op_rhs && op_rhs->has_magic_end ()));
+    }
+
   bool is_binary_expression (void) const { return true; }
 
   bool rvalue_ok (void) const { return true; }