summaryrefslogtreecommitdiff
path: root/src/scope.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-01 03:31:28 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-01 03:31:28 -0600
commit944e580825f0d9ce060b6dcdffe8990b6c2cca20 (patch)
treee2651b0df622d9b8d3831f35743e7dbd31c16897 /src/scope.h
parente2afc783db0dff1927b00dc506390353d9e3bbd2 (diff)
downloadfork-ledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.tar.gz
fork-ledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.tar.bz2
fork-ledger-944e580825f0d9ce060b6dcdffe8990b6c2cca20.zip
Refactored the notion of "the current parsing context"
Diffstat (limited to 'src/scope.h')
-rw-r--r--src/scope.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scope.h b/src/scope.h
index 6fcd67e9..c42ec66b 100644
--- a/src/scope.h
+++ b/src/scope.h
@@ -664,7 +664,7 @@ public:
if (name == "value")
return MAKE_FUNCTOR(value_scope_t::get_value);
- return NULL;
+ return child_scope_t::lookup(kind, name);
}
};