From 0ef506f38e4a18d11e50fb96c7d6d6c3323a76e0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Mar 2009 03:42:45 +0000 Subject: Tidy. git-svn-id: http://svn.drobilla.net/resp/tuplr@72 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- tuplr.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tuplr.cpp') diff --git a/tuplr.cpp b/tuplr.cpp index 49a3607..5837715 100644 --- a/tuplr.cpp +++ b/tuplr.cpp @@ -33,7 +33,7 @@ std::ostream& out = std::cout; /*************************************************************************** - * S-Expression Lexer :: text -> S-Expressions (SExp) * + * Lexer * ***************************************************************************/ inline int @@ -157,7 +157,7 @@ initLang(PEnv& penv, TEnv& tenv) int print_usage(char* name, bool error) { - std::ostream& os = error ? std::cerr : std::cout; + ostream& os = error ? cerr : cout; os << "Usage: " << name << " [OPTION]... [FILE]..." << endl; os << "Evaluate and/or compile Tuplr code" << endl; os << endl; @@ -206,7 +206,7 @@ main(int argc, char** argv) if (is.good()) { ret = ret | eval(*cenv, *f, is); } else { - std::cerr << argv[0] << ": " << *f << ": " << strerror(errno) << endl; + cerr << argv[0] << ": " << *f << ": " << strerror(errno) << endl; ++ret; } is.close(); @@ -217,7 +217,7 @@ main(int argc, char** argv) a = args.find("-o"); if (a != args.end()) { - std::ofstream os(a->second.c_str()); + ofstream os(a->second.c_str()); if (os.good()) { cenv->write(os); } else { -- cgit v1.2.1