Added bool equations to bootstrap

This commit is contained in:
Jonathan Turner
2009-07-06 16:11:03 +00:00
parent 7ceb3e8700
commit 0708f32694
2 changed files with 2 additions and 0 deletions

View File

@@ -127,6 +127,7 @@ namespace chaiscript
}; };
struct BreakLoop { struct BreakLoop {
dispatchkit::Boxed_Value retval;
TokenPtr location; TokenPtr location;
BreakLoop(const TokenPtr where) : location(where) { } BreakLoop(const TokenPtr where) : location(where) { }

View File

@@ -506,6 +506,7 @@ namespace dispatchkit
add_basic_constructors<bool>(s, "bool"); add_basic_constructors<bool>(s, "bool");
add_oper_assign<std::string>(s); add_oper_assign<std::string>(s);
add_oper_assign<bool>(s);
register_function(s, &to_string<const std::string &>, "internal_to_string"); register_function(s, &to_string<const std::string &>, "internal_to_string");
register_function(s, &to_string<bool>, "internal_to_string"); register_function(s, &to_string<bool>, "internal_to_string");