summaryrefslogtreecommitdiff
path: root/server/src/fieldnamescanner.cc
diff options
context:
space:
mode:
authordeva <deva>2011-07-01 11:54:26 +0000
committerdeva <deva>2011-07-01 11:54:26 +0000
commit23f39df8b8edeacfa5821050abbdc855acb2edd6 (patch)
treee56f7826c361a85a3bac9e0b3206086c81114748 /server/src/fieldnamescanner.cc
parent2c53b5ef16626112dfc738420eec3e1963b1a343 (diff)
removed macrotool.
add lua wrapper for praxisd. new type attributes_t for sax parser and children. make macros/templates use real vars instead of var map. add data ttl on macro level. add 'important' attribute to macrotags in templates.
Diffstat (limited to 'server/src/fieldnamescanner.cc')
-rw-r--r--server/src/fieldnamescanner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/fieldnamescanner.cc b/server/src/fieldnamescanner.cc
index 585657b..5418bb4 100644
--- a/server/src/fieldnamescanner.cc
+++ b/server/src/fieldnamescanner.cc
@@ -81,7 +81,7 @@ templates_t scanfieldnames(std::set<std::string> &filter)
std::vector<Macro>::iterator ms = t->macros.begin();
while(ms != t->macros.end()) {
if(ms->isHeader == false) {
- std::string macro = ms->attributes["name"];
+ std::string macro = ms->name;
DEBUG(scanner, "Name '%s'\n", macro.c_str());
std::string macrofile = macrolist.getLatestVersion(macro);
DEBUG(scanner, "File '%s'\n", macrofile.c_str());