diff src/token.h @ 7336:745a8299c2b5

[project @ 2007-12-28 20:56:55 by jwe]
author jwe
date Fri, 28 Dec 2007 20:56:58 +0000
parents a1dbe9d80eee
children d56511a02884
line wrap: on
line diff
--- a/src/token.h
+++ b/src/token.h
@@ -26,7 +26,7 @@
 
 #include <string>
 
-class symbol_record;
+class symbol_table::symbol_record;
 
 class
 token
@@ -68,7 +68,7 @@
 	 int l = -1, int c = -1);
   token (end_tok_type t, int l = -1, int c = -1);
   token (plot_tok_type t, int l = -1, int c = -1);
-  token (symbol_record *s, int l = -1, int c = -1);
+  token (symbol_table::symbol_record *s, int l = -1, int c = -1);
 
   ~token (void);
 
@@ -79,7 +79,7 @@
   double number (void);
   end_tok_type ettype (void);
   plot_tok_type pttype (void);
-  symbol_record *sym_rec (void);
+  symbol_table::symbol_record *sym_rec (void);
 
   std::string text_rep (void);
 
@@ -100,7 +100,7 @@
       double num;
       end_tok_type et;
       plot_tok_type pt;
-      symbol_record *sr;
+      symbol_table::symbol_record *sr;
     };
   std::string orig_text;
 };