Remove commented out code and make variable declarations/scopes consistent with the rest of the C++ codebase

This commit is contained in:
Jason Turner
2010-09-30 19:16:03 +00:00
parent 8b35434e6f
commit 7b77af3736
2 changed files with 54 additions and 121 deletions

View File

@@ -180,11 +180,13 @@ namespace chaiscript
*/
struct reserved_word_error : std::runtime_error
{
reserved_word_error(const std::string &word) throw()
: std::runtime_error("Reserved word not allowed in object name: " + word)
reserved_word_error(const std::string &t_word) throw()
: std::runtime_error("Reserved word not allowed in object name: " + word), word(t_word)
{
}
std::string word;
virtual ~reserved_word_error() throw() {}
};