Skip to content
Commit 93c432e8 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: fix line number in recursive inclusion detection



The error message shows a wrong line number if the 'source' directive
is wrapped to the following line.

[Test Code]

  source \
  "Kconfig"

This results in the following error message:

  Recursive inclusion detected.
  Inclusion path:
    current file : Kconfig
    included from: Kconfig:2

The correct message should be as follows:

  Recursive inclusion detected.
  Inclusion path:
    current file : Kconfig
    included from: Kconfig:1

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 12e3342f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment