From db693b44aa11a8b5eebcea4c922d5ce0e7ceb0ad Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 7 Jun 2018 13:59:14 +0200 Subject: util/optionlist: show location of a comment Change-Id: Ib417f435011f0331a1b0228734874ef0a62fb587 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/26945 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/optionlist/kconfig2html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/optionlist/kconfig2html b/util/optionlist/kconfig2html index defd35df82..35386b14cb 100755 --- a/util/optionlist/kconfig2html +++ b/util/optionlist/kconfig2html @@ -79,7 +79,7 @@ def readfile(filename): helplen = len(i[:i.find(words[0])].expandtabs()) elif words[0] == "comment": sys.stdout.write("\n") - sys.stdout.write("(comment)%s\n" % htmlescape(zapquotes(words[1]))) + sys.stdout.write("%s(comment)%s\n" % (source, htmlescape(zapquotes(words[1])))) elif words[0]=="menu": if len(words)>1: temp = htmlescape(zapquotes(words[1])) -- cgit v1.2.3