mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-17 07:39:59 +08:00
Added bool equations to bootstrap
This commit is contained in:
parent
7ceb3e8700
commit
0708f32694
@ -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");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user