mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Fixed build error.
This commit is contained in:
parent
f9fea06e74
commit
1e4ad36f25
0
language/interpreter.cc
Normal file → Executable file
0
language/interpreter.cc
Normal file → Executable file
2
language/interpreter.hpp
Normal file → Executable file
2
language/interpreter.hpp
Normal file → Executable 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
0
language/main.cc
Normal file → Executable file
0
language/parser.cc
Normal file → Executable file
0
language/parser.cc
Normal file → Executable file
0
language/repl.cc
Normal file → Executable file
0
language/repl.cc
Normal file → Executable file
0
language/repl.hpp
Normal file → Executable file
0
language/repl.hpp
Normal file → Executable file
Loading…
Reference in New Issue
Block a user