projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improved console rendering at 16:10 aspect ratio
[supertux.git]
/
src
/
lisp
/
lisp.hpp
diff --git
a/src/lisp/lisp.hpp
b/src/lisp/lisp.hpp
index
38d6605
..
c65b2ea
100644
(file)
--- a/
src/lisp/lisp.hpp
+++ b/
src/lisp/lisp.hpp
@@
-57,6
+57,12
@@
public:
return true;
}
+ std::string get_symbol() const
+ {
+ assert(type == TYPE_SYMBOL);
+ return v.string;
+ }
+
std::string get_string() const
{
assert(type == TYPE_STRING);