# # patch "ChangeLog" # from [d361379fed175013c9eb5bd3f0c4f69e8f80b592] # to [5f129d856c871d430b705130e5bb6e6eeb0602f7] # # patch "lua.cc" # from [7a62477a7767f7aad3d35841c33d96eb86819b8d] # to [6f3d7d665113e58d1dc11f8b6e4528cc978c9379] # ======================================================================== --- ChangeLog d361379fed175013c9eb5bd3f0c4f69e8f80b592 +++ ChangeLog 5f129d856c871d430b705130e5bb6e6eeb0602f7 @@ -1,3 +1,8 @@ +2005-08-15 Nathaniel Smith + + * lua.cc (hook_init_attributes): Do more logging; use begin() + instead of starting iteration by hand. + 2005-08-14 Nathaniel Smith * configure.ac (BOOST_VERSION_CHECK, BOOST_FIX_VERSION): Fix for ======================================================================== --- lua.cc 7a62477a7767f7aad3d35841c33d96eb86819b8d +++ lua.cc 6f3d7d665113e58d1dc11f8b6e4528cc978c9379 @@ -1135,11 +1135,13 @@ ll .push_str("attr_init_functions") - .get_tab() - .push_nil(); - + .get_tab(); + + L(F("calling attr_init_function for %s") % filename); + ll.begin(); while (ll.next()) { + L(F(" calling an attr_init_function for %s") % filename); ll.push_str(filename()); ll.call(1, 1); @@ -1152,9 +1154,13 @@ ll.extract_str(key); attrs[key] = value; + L(F(" added attr %s = %s") % key % value); } else - ll.pop(); + { + L(F(" no attr added")); + ll.pop(); + } } return ll.pop().ok();