diff options
Diffstat (limited to 'libbuild2/parser.cxx')
-rw-r--r-- | libbuild2/parser.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx index 92e0090..8118e0e 100644 --- a/libbuild2/parser.cxx +++ b/libbuild2/parser.cxx @@ -6013,6 +6013,8 @@ namespace build2 result_data = ctx.functions.call (scope_, name, args, loc); what = "function call"; } + else + lookup_function (move (name), loc); } else { @@ -6850,6 +6852,12 @@ namespace build2 } void parser:: + lookup_function (string&&, const location&) + { + assert (pre_parse_); + } + + void parser:: switch_scope (const dir_path& d) { tracer trace ("parser::switch_scope", &path_); |