From d38dbf711c9532eea99607368278a8396b3db667 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 4 Dec 2020 12:53:52 +0300 Subject: In update ad hoc recipe buildscripts allow non-pure function calls only in depdeb preamble --- libbuild2/parser.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libbuild2/parser.hxx') 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: -- cgit v1.1