From 26e1db651e18fd65fe7374b404a30e20f601969f Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Wed, 4 Sep 2019 20:44:24 +0200 Subject: Allow preprocessor user functions to access the parsing location Just requires making Kconfig.filename/linenr public. 'lineno' would be a more standard name, but be consistent with MenuNode.linenr. --- tests/Kuserfunctions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Kuserfunctions') diff --git a/tests/Kuserfunctions b/tests/Kuserfunctions index 89b4442..b0bf630 100644 --- a/tests/Kuserfunctions +++ b/tests/Kuserfunctions @@ -9,3 +9,6 @@ one-two = $(one,foo bar,baz) one-or-more-zero = $(one-or-more) one-or-more-one = $(one-or-more,foo) one-or-more-three = $(one-or-more,foo,bar,baz) + +location-1 := $(location) +location-2 := $(location) -- cgit v1.2.3