Fixed build error.

This commit is contained in:
yhirose 2015-06-03 08:16:33 -04:00
parent f9fea06e74
commit 1e4ad36f25
6 changed files with 92 additions and 92 deletions

0
language/interpreter.cc Normal file → Executable file
View File

2
language/interpreter.hpp Normal file → Executable file
View File

@ -28,7 +28,7 @@ struct Value
Value(Value&& rhs) : type(rhs.type), v(rhs.v) {}
Value& operator=(const Value&) = default;
Value& operator=(Value&&) = default;
Value& operator=(Value&& rhs) { type = rhs.type; v = rhs.v; return *this; }
bool to_bool() const {
switch (type) {

0
language/main.cc Normal file → Executable file
View File

0
language/parser.cc Normal file → Executable file
View File

0
language/repl.cc Normal file → Executable file
View File

0
language/repl.hpp Normal file → Executable file
View File