diff src/token.h @ 581:bc813f5eb025

[project @ 1994-08-07 01:02:15 by jwe]
author jwe
date Sun, 07 Aug 1994 01:02:15 +0000
parents de9de43ad21f
children ba6acc6309ec
line wrap: on
line diff
--- a/src/token.h	Sun Aug 07 01:02:15 1994 +0000
+++ b/src/token.h	Sun Aug 07 01:02:15 1994 +0000
@@ -62,7 +62,7 @@
 
   token (int l = -1, int c = -1);
   token (char *s, int l = -1, int c = -1);
-  token (double d, int l = -1, int c = -1);
+  token (double d, char *s = 0, 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);
@@ -78,6 +78,8 @@
   plot_tok_type pttype (void);
   symbol_record *sym_rec (void);
 
+  char *text_rep (void);
+
 private:
   int line_num;
   int column_num;
@@ -90,6 +92,7 @@
       plot_tok_type pt;
       symbol_record *sr;
     };
+  char *orig_text;
 };
 
 #endif