diff options
author | David Robillard <d@drobilla.net> | 2009-06-18 03:55:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-06-18 03:55:17 +0000 |
commit | 4e34e229beb12164ea49b1121785dc71eb7c3566 (patch) | |
tree | 3951bb94748289698cba24cc220be5323938e645 /write.cpp | |
parent | 815991c906f912c4eb52e1d3646a6110d472a8ec (diff) | |
download | resp-4e34e229beb12164ea49b1121785dc71eb7c3566.tar.gz resp-4e34e229beb12164ea49b1121785dc71eb7c3566.tar.bz2 resp-4e34e229beb12164ea49b1121785dc71eb7c3566.zip |
Strip trailing whitespace.
git-svn-id: http://svn.drobilla.net/resp/tuplr@118 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'write.cpp')
-rw-r--r-- | write.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -23,11 +23,11 @@ operator<<(ostream& out, const AST* ast) const ALiteral<float>* flit = ast->to<const ALiteral<float>*>(); if (flit) return out << showpoint << flit->val; - + const ALiteral<int32_t>* ilit = ast->to<const ALiteral<int32_t>*>(); if (ilit) return out << ilit->val; - + const ALiteral<bool>* blit = ast->to<const ALiteral<bool>*>(); if (blit) return out << (blit->val ? "#t" : "#f"); @@ -35,7 +35,7 @@ operator<<(ostream& out, const AST* ast) const ASymbol* sym = ast->to<const ASymbol*>(); if (sym) return out << sym->cppstr; - + const AType* type = ast->to<const AType*>(); if (type) { switch (type->kind) { @@ -44,7 +44,7 @@ operator<<(ostream& out, const AST* ast) case AType::EXPR: break; // will catch Tuple case below } } - + const ATuple* tup = ast->to<const ATuple*>(); if (tup) { out << "("; @@ -52,7 +52,7 @@ operator<<(ostream& out, const AST* ast) out << tup->at(i) << ((i != tup->size() - 1) ? " " : ""); return out << ")"; } - + return out << "?"; } |