1
This commit is contained in:
parent
cac6a97d11
commit
7b6262760b
@ -36,6 +36,12 @@ public:
|
||||
std::shared_ptr<a8::lisp::Value> Compile(const std::string& script)
|
||||
{
|
||||
auto expr = a8::lisp::Expr::Compile(script, shared_from_this());
|
||||
if (!expr) {
|
||||
abort();
|
||||
}
|
||||
if (!expr->IsType(a8::lisp::ValueType::kList)) {
|
||||
abort();
|
||||
}
|
||||
return expr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user