aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/parser.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-04 12:53:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-12-08 14:26:22 +0300
commitd38dbf711c9532eea99607368278a8396b3db667 (patch)
treeab672c32b49a29a7c38edd121154fd7109717f28 /libbuild2/parser.hxx
parentfb34688841668e6e4c939395c8387feabe8ddfdf (diff)
In update ad hoc recipe buildscripts allow non-pure function calls only in depdeb preamble
Diffstat (limited to 'libbuild2/parser.hxx')
-rw-r--r--libbuild2/parser.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbuild2/parser.hxx b/libbuild2/parser.hxx
index 24a1ac1..1e924f0 100644
--- a/libbuild2/parser.hxx
+++ b/libbuild2/parser.hxx
@@ -512,6 +512,13 @@ namespace build2
virtual lookup
lookup_variable (name&& qual, string&& name, const location&);
+ // This function is only called during pre-parse and is the continuation
+ // of the similar logic in lookup_variable() above (including the fact
+ // that the name is empty for computed function names).
+ //
+ virtual void
+ lookup_function (string&& name, const location&);
+
// Utilities.
//
protected: