Whitespace cleanup.

This commit is contained in:
John Wiegley 2009-01-29 18:24:10 -04:00
parent 05c77351e4
commit da1cd7c4bc
2 changed files with 29 additions and 31 deletions

View file

@ -49,8 +49,7 @@ namespace {
} }
*p = '\0'; *p = '\0';
expr_t::ptr_op_t op = scope.lookup(buf); if (expr_t::ptr_op_t op = scope.lookup(buf))
if (op)
return op_bool_tuple(op, false); return op_bool_tuple(op, false);
*p++ = '_'; *p++ = '_';
@ -66,8 +65,7 @@ namespace {
buf[4] = letter; buf[4] = letter;
buf[5] = '\0'; buf[5] = '\0';
expr_t::ptr_op_t op = scope.lookup(buf); if (expr_t::ptr_op_t op = scope.lookup(buf))
if (op)
return op_bool_tuple(op, false); return op_bool_tuple(op, false);
buf[5] = '_'; buf[5] = '_';

View file

@ -50,41 +50,41 @@ class session_t : public noncopyable, public scope_t
friend void release_session_context(); friend void release_session_context();
public: public:
static session_t * current; static session_t * current;
scoped_ptr<report_t> current_report; scoped_ptr<report_t> current_report;
path data_file; path data_file;
optional<path> init_file; optional<path> init_file;
optional<path> cache_file; optional<path> cache_file;
optional<path> price_db; optional<path> price_db;
string register_format; string register_format;
string wide_register_format; string wide_register_format;
string print_format; string print_format;
string balance_format; string balance_format;
string equity_format; string equity_format;
string plot_amount_format; string plot_amount_format;
string plot_total_format; string plot_total_format;
string write_hdr_format; string write_hdr_format;
string write_xact_format; string write_xact_format;
string prices_format; string prices_format;
string pricesdb_format; string pricesdb_format;
unsigned long pricing_leeway; unsigned long pricing_leeway;
bool download_quotes; bool download_quotes;
bool use_cache; bool use_cache;
bool cache_dirty; bool cache_dirty;
datetime_t now; datetime_t now;
date_t today; date_t today;
format_t::elision_style_t elision_style; format_t::elision_style_t elision_style;
int abbrev_length; int abbrev_length;
bool ansi_codes; bool ansi_codes;
bool ansi_invert; bool ansi_invert;
ptr_list<journal_t> journals; ptr_list<journal_t> journals;
ptr_list<journal_t::parser_t> parsers; ptr_list<journal_t::parser_t> parsers;