diff src/pt-colon.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 05e4d8c0a840
line wrap: on
line diff
--- a/src/pt-colon.h	Fri Jan 03 06:22:55 2003 +0000
+++ b/src/pt-colon.h	Fri Jan 03 15:27:06 2003 +0000
@@ -61,6 +61,13 @@
       delete op_increment;
     }
 
+  bool has_magic_end (void) const
+    {
+      return ((op_base && op_base->has_magic_end ())
+	      || (op_limit && op_limit->has_magic_end ())
+	      || (op_increment && op_increment->has_magic_end ()));
+    }
+
   void preserve_base (void) { save_base = true; }
 
   tree_colon_expression *append (tree_expression *t);