diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-16 22:54:05 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-05-16 22:54:05 -0400 |
| commit | 0910864ce3be8bc8a34f53c5633d79dc6702a92b (patch) | |
| tree | 953cab7cb1444167cc8e9d8993403756e64b8b0d | |
| parent | b849e98358555e8fc18ce226d8b310bf45d72dce (diff) | |
| download | verbly-0910864ce3be8bc8a34f53c5633d79dc6702a92b.tar.gz verbly-0910864ce3be8bc8a34f53c5633d79dc6702a92b.tar.bz2 verbly-0910864ce3be8bc8a34f53c5633d79dc6702a92b.zip | |
Fixed token extra functionality in copying
| -rw-r--r-- | lib/token.cpp | 2 |
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 | { |
