absyntax_utils/function_call_param_iterator.cc
changeset 596 4efb11e44065
parent 449 3c6225521059
child 844 39c755f41ee8
--- a/absyntax_utils/function_call_param_iterator.cc	Thu Jun 14 17:50:37 2012 +0100
+++ b/absyntax_utils/function_call_param_iterator.cc	Fri Jun 15 19:54:33 2012 +0100
@@ -48,6 +48,7 @@
 
 #include "function_call_param_iterator.hh"
 #include <strings.h>
+#include "../main.hh" // required for ERROR() and ERROR_MSG() macros.
 
 
 //#define DEBUG
@@ -57,9 +58,6 @@
 #define TRACE(classname)
 #endif
 
-#define ERROR error_exit(__FILE__,__LINE__)
-/* function defined in main.cc */
-extern void error_exit(const char *file_name, int line_no);