return true;
}
+ std::string get_symbol() const
+ {
+ assert(type == TYPE_SYMBOL);
+ return v.string;
+ }
+
std::string get_string() const
{
assert(type == TYPE_STRING);
cur->get(file);
imagespecs.push_back(ImageSpec(file, Rect(0, 0, 0, 0)));
} else if(cur->get_type() == lisp::Lisp::TYPE_CONS &&
- cur->get_car()->get_type() == lisp::Lisp::TYPE_SYMBOL) {
+ cur->get_car()->get_type() == lisp::Lisp::TYPE_SYMBOL &&
+ cur->get_car()->get_symbol() == "region") {
const lisp::Lisp* ptr = cur->get_cdr();
std::string file;