]> git.localhorst.tv Git - l2e.git/blobdiff - src/loader/ParsedSource.cpp
support for arrays containing (yet) undefined references
[l2e.git] / src / loader / ParsedSource.cpp
index 90597475726663807fdc2beaa5b8f1d7fc627c98..422c5a0e31ce525bb0287f2870a76c493bd44e80 100644 (file)
@@ -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<string, loader::Declaration *>::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<string>::const_iterator i(source.Exports().begin()), end(source.Exports().end()); i != end; ++i) {
                out << " - " << *i << endl;
        }
+       out << endl;
        return out;
 }