diff src/token.cc @ 1288:4acabfbdd381

[project @ 1995-04-28 20:23:04 by jwe]
author jwe
date Fri, 28 Apr 1995 20:31:13 +0000
parents b6360f2d4fa6
children db2ff37920d2
line wrap: on
line diff
--- a/src/token.cc
+++ b/src/token.cc
@@ -27,6 +27,7 @@
 
 #include <assert.h>
 
+#include "error.h"
 #include "token.h"
 #include "utils.h"
 #include "symtab.h"
@@ -54,7 +55,7 @@
   column_num = c;
   type_tag = double_token;
   num = d;
-  orig_text = strsave (s);
+  orig_text = 0; // strsave (s);
 }
 
 token::token (end_tok_type t, int l, int c)
@@ -144,6 +145,17 @@
   return orig_text;
 }
 
+token::token (const token& tok)
+{
+  panic_impossible ();
+}
+
+token&
+operator = (const token& tok)
+{
+  panic_impossible ();
+}
+
 /*
 ;;; Local Variables: ***
 ;;; mode: C++ ***