util/symtable.cc
changeset 625 c0bda77b37a0
parent 596 4efb11e44065
child 952 e984cfdf3b10
--- a/util/symtable.cc	Tue Aug 14 19:40:01 2012 +0200
+++ b/util/symtable.cc	Wed Aug 22 16:46:17 2012 +0200
@@ -34,14 +34,10 @@
 
 #include <iostream>
 #include "symtable.hh"
+#include "../main.hh" // required for ERROR() and ERROR_MSG() macros.
 
 
 
-/* A macro for printing out internal parser errors... */
-#define ERROR error_exit(__FILE__,__LINE__)
-/* function defined in main.cc */
-extern void error_exit(const char *file_name, int line_no);
-