From 3e9e01ccce955b3fd9f06532332f22cfabf43819 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Thu, 21 Aug 2003 22:32:46 +0000 Subject: [PATCH] Added a comment --- Cantera/src/misc.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cantera/src/misc.cpp b/Cantera/src/misc.cpp index 33cfa175b..f4ef9d2d5 100755 --- a/Cantera/src/misc.cpp +++ b/Cantera/src/misc.cpp @@ -101,6 +101,14 @@ namespace Cantera { ifstream s(ff.c_str()); XML_Node* x = new XML_Node("doc"); x->build(s); + /* + * Add the built XML Tree to the map, xmlfiles. + * It stores the pointer to the tree, with the + * key being the name of the file. + * + * HKM Note: shouldn't the key be the full pathname of + * the file, i.e., ff? + */ __app->xmlfiles[file] = x; } return __app->xmlfiles[file];