switch-coreboot/util/lint
Martin Roth 811d93af39 util/lint: Give better warning for help spacing issue
Because the help block uses significant whitespace to determine whether
or not text is inside the help block, a mixture of spaces and tabs
confuses the parser.
If there's an unrecognized line, and the previous line was inside a help
block, it's likely that this line is too.

Additionally, this was found with a line that started '  configuration',
and threw a perl warning about an uninitialized value because the parser
thought this was the start of a new config line, but couldn't find the
symbol.  Now we make sure that config statements have whitespace after
the 'config' statement.

Change-Id: I46375738a18903b266ea9fff3102a1a91235e609
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: https://review.coreboot.org/19155
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2017-06-07 23:13:38 +02:00
..
check_lint_tests
checkpatch.pl
kconfig_lint util/lint: Give better warning for help spacing issue 2017-06-07 23:13:38 +02:00
kconfig_lint_README util/lint/kconfig_lint: update help checking 2017-06-07 23:12:40 +02:00
lint
lint-000-license-headers
lint-001-no-global-config-in-romstage
lint-007-checkpatch
lint-008-kconfig
lint-014-qualified-types
lint-015-final-newlines
lint-016-non-ascii
lint-stable-000-license-headers
lint-stable-003-whitespace
lint-stable-004-style-labels
lint-stable-005-board-status
lint-stable-006-board-name
lint-stable-008-kconfig
lint-stable-009-old-licenses
lint-stable-010-asm-syntax
lint-stable-012-executable-bit
lint-stable-013-site-local
lint-stable-017-configs
lint-stable-018-symlinks
lint-stable-019-header-files
lint-stable-020-signed-off-by
remccoms3.sed
spelling.txt