summaryrefslogtreecommitdiff
path: root/server/src/macro_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/macro_parser.cc')
-rw-r--r--server/src/macro_parser.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/macro_parser.cc b/server/src/macro_parser.cc
index aeeb84f..7fc9609 100644
--- a/server/src/macro_parser.cc
+++ b/server/src/macro_parser.cc
@@ -70,6 +70,13 @@ static void start_hndl(void *p, const char *el, const char **attr)
// Do something reasonable with them...
+ if(name == "macro") {
+ printf("Macro %s %s\n", attributes["name"].c_str(), attributes["resume"].c_str());
+ parser->macro->name = attributes["name"];
+ parser->macro->format = attributes["resume"];
+ // return;
+ }
+
if(name == "include") {
Macro inc;