Added bool equations to bootstrap
This commit is contained in:
@@ -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) { }
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user