summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/global.cc b/src/global.cc
index 5b7bb1c1..d7742161 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -70,6 +70,7 @@ global_scope_t::global_scope_t(char ** envp)
// generated.
report_stack.push_front(new report_t(*session_ptr));
scope_t::default_scope = &report();
+ scope_t::empty_scope = &empty_scope;
// Read the user's options, in the following order:
//
@@ -192,7 +193,7 @@ void global_scope_t::execute_command(strings_list args, bool at_repl)
is_precommand = true;
// If it is not a pre-command, then parse the user's ledger data at this
- // time if not done alreday (i.e., if not at a REPL). Then patch up the
+ // time if not done already (i.e., if not at a REPL). Then patch up the
// report options based on the command verb.
if (! is_precommand) {