X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Floader%2FParsedSource.cpp;h=422c5a0e31ce525bb0287f2870a76c493bd44e80;hb=HEAD;hp=90597475726663807fdc2beaa5b8f1d7fc627c98;hpb=a67f7e662c85b2b8d46f26a3c6e018b2df6eb318;p=l2e.git diff --git a/src/loader/ParsedSource.cpp b/src/loader/ParsedSource.cpp index 9059747..422c5a0 100644 --- a/src/loader/ParsedSource.cpp +++ b/src/loader/ParsedSource.cpp @@ -527,7 +527,8 @@ const Literal *ScriptToken::GetLiteral() const { namespace std { ostream &operator <<(ostream &out, const loader::ParsedSource &source) { - out << "parsed source file" << endl; + out << "parsed sources" << endl; + out << "==============" << endl; out << "declared objects: " << endl; for (map::const_iterator i(source.Declarations().begin()), end(source.Declarations().end()); i != end; ++i) { out << " - " << i->first << " of type " << i->second->TypeName() << endl; @@ -543,6 +544,7 @@ ostream &operator <<(ostream &out, const loader::ParsedSource &source) { for (set::const_iterator i(source.Exports().begin()), end(source.Exports().end()); i != end; ++i) { out << " - " << *i << endl; } + out << endl; return out; }