diff src/pt-idx.h @ 3929:cc8ae49d6e79

[project @ 2002-05-04 02:47:14 by jwe]
author jwe
date Sat, 04 May 2002 02:47:14 +0000
parents b80bbb43a1a9
children 61d4427c016e
line wrap: on
line diff
--- a/src/pt-idx.h
+++ b/src/pt-idx.h
@@ -46,8 +46,15 @@
 {
 public:
 
+  enum type
+    {
+      unknown,
+      paren,
+      brace
+    };
+
   tree_index_expression (tree_expression *e = 0, tree_argument_list *lst = 0,
-			 int l = -1, int c = -1);
+			 int l = -1, int c = -1, type t = paren);
 
   ~tree_index_expression (void);
 
@@ -84,6 +91,8 @@
 
   tree_argument_list *list;
 
+  type itype;
+
   string_vector arg_nm;
 
   // No copying!