From 0910864ce3be8bc8a34f53c5633d79dc6702a92b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 16 May 2016 22:54:05 -0400 Subject: Fixed token extra functionality in copying --- lib/token.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 { token::token(const token& other) { _type = other._type; + _extra = other._extra; switch (_type) { @@ -90,6 +91,7 @@ namespace verbly { this->~token(); _type = other._type; + _extra = other._extra; switch (_type) { -- cgit 1.4.1