From 7e349e2789a633a6014baea63aeb7932e024c917 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 22 Jul 2009 15:00:29 +0000 Subject: Changed the way the macros are looked up in the filesystem (now they are parsed and indexed using version numbers). Updated all unit tests, to compile and run again. --- server/src/macrotool_fieldnames.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/macrotool_fieldnames.cc') diff --git a/server/src/macrotool_fieldnames.cc b/server/src/macrotool_fieldnames.cc index 3c3f8b7..d7cc7f9 100644 --- a/server/src/macrotool_fieldnames.cc +++ b/server/src/macrotool_fieldnames.cc @@ -78,7 +78,7 @@ static std::map > getMacroRefsList() while(mfs != macrofiles.end()) { std::string name = mfs->substr(0, mfs->length() - 4); - MacroParser parser(name); + MacroParser parser(Conf::xml_basedir + "/macros/" + *mfs); parser.parse(); Macro *macro = parser.getMacro(); -- cgit v1.2.3