summaryrefslogtreecommitdiff
path: root/src/parse/token.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/token.cpp')
-rw-r--r--src/parse/token.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/parse/token.cpp b/src/parse/token.cpp
index f9ecd028..5feafc39 100644
--- a/src/parse/token.cpp
+++ b/src/parse/token.cpp
@@ -504,6 +504,12 @@ struct EscapedString {
case TOK_LIFETIME:
if( tok.m_data.is_String() )
os << "\"" << EscapedString(tok.str()) << "\"";
+ else if( tok.m_data.is_IString() )
+ os << "\"" << tok.istr() << "\"";
+ else if( tok.m_data.is_None() )
+ ;
+ else
+ os << "?inner?";
break;
case TOK_INTEGER:
if( tok.m_data.is_Integer() )