Masahiro Yamada af8bbce920 kconfig: fix infinite loop when expanding a macro at the end of file
A macro placed at the end of a file with no newline causes an infinite
loop.

[Test Kconfig]
  $(info,hello)
  \ No newline at end of file

I realized that flex-provided input() returns 0 instead of EOF when it
reaches the end of a file.

Fixes: 104daea149c4 ("kconfig: reference environment variables directly and remove 'option env='")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2024-02-19 18:20:40 +09:00
..
2023-12-29 22:25:20 +09:00
2023-12-28 16:22:47 +09:00
2020-08-14 13:30:03 +09:00
2020-08-14 13:30:03 +09:00
2021-04-14 15:26:09 +09:00
2020-09-25 00:37:13 +09:00