summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-05-16 22:54:05 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-16 22:54:05 -0400
commit0910864ce3be8bc8a34f53c5633d79dc6702a92b (patch)
tree953cab7cb1444167cc8e9d8993403756e64b8b0d
parentb849e98358555e8fc18ce226d8b310bf45d72dce (diff)
downloadverbly-0910864ce3be8bc8a34f53c5633d79dc6702a92b.tar.gz
verbly-0910864ce3be8bc8a34f53c5633d79dc6702a92b.tar.bz2
verbly-0910864ce3be8bc8a34f53c5633d79dc6702a92b.zip
Fixed token extra functionality in copying
-rw-r--r--lib/token.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/token.cpp b/lib/token.cpp index 1e25acb..b794ff8 100644 --- a/lib/token.cpp +++ b/lib/token.cpp
@@ -20,6 +20,7 @@ namespace verbly {
20 token::token(const token& other) 20 token::token(const token& other)
21 { 21 {
22 _type = other._type; 22 _type = other._type;
23 _extra = other._extra;
23 24
24 switch (_type) 25 switch (_type)
25 { 26 {
@@ -90,6 +91,7 @@ namespace verbly {
90 this->~token(); 91 this->~token();
91 92
92 _type = other._type; 93 _type = other._type;
94 _extra = other._extra;
93 95
94 switch (_type) 96 switch (_type)
95 { 97 {