absyntax_utils/search_base_type.cc
changeset 596 4efb11e44065
parent 417 d48f53715f77
child 617 43e00c10dc49
--- a/absyntax_utils/search_base_type.cc	Thu Jun 14 17:50:37 2012 +0100
+++ b/absyntax_utils/search_base_type.cc	Fri Jun 15 19:54:33 2012 +0100
@@ -46,10 +46,7 @@
  * we may have FB instances declared of a specific FB type.
  */
 #include "absyntax_utils.hh"
-
-#define ERROR error_exit(__FILE__,__LINE__)
-/* function defined in main.cc */
-extern void error_exit(const char *file_name, int line_no);
+#include "../main.hh" // required for ERROR() and ERROR_MSG() macros.