diff options
Diffstat (limited to 'src/pprint.cpp')
-rw-r--r-- | src/pprint.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pprint.cpp b/src/pprint.cpp index 88ed90f..5253316 100644 --- a/src/pprint.cpp +++ b/src/pprint.cpp @@ -85,10 +85,6 @@ print_to(ostream& out, const AST* ast, unsigned indent, CEnv* cenv, bool types) const ASymbol* sym = (*i)->to_symbol(); if (sym) { form = sym->cppstr; - } else { - const ALexeme* lexeme = (*i)->to_lexeme(); - if (lexeme) - form = lexeme->cppstr; } } @@ -149,8 +145,6 @@ print_to(ostream& out, const AST* ast, unsigned indent, CEnv* cenv, bool types) return out << showpoint << ((const ALiteral<float>*)ast)->val; case T_INT32: return out << showpoint << ((const ALiteral<int32_t>*)ast)->val; - case T_LEXEME: - return out << ((const ALexeme*)ast)->cppstr; case T_STRING: return out << '"' << ((const AString*)ast)->cppstr << '"'; case T_SYMBOL: |