diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2019-09-04 20:44:24 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2019-09-04 21:14:12 +0200 |
| commit | 26e1db651e18fd65fe7374b404a30e20f601969f (patch) | |
| tree | 3ca8cd4fa01a2f1ab3031c226f2f40783de1e2d3 /tests/Kuserfunctions | |
| parent | e7233c12e91626424c9cfebeb3892c298caca980 (diff) | |
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.
Diffstat (limited to 'tests/Kuserfunctions')
| -rw-r--r-- | tests/Kuserfunctions | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
