diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2021-04-29 22:02:41 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2021-05-20 16:29:13 +0200 |
commit | eb9b532089e4b8a1d233fc2486db94f9596d5c98 (patch) | |
tree | 336f1ea3c4cce4a468645eeafd37e3cf41524530 /util/check-format-test-negatives.c | |
parent | f35a9b6a2d53190b65360b68540bc688fff1c704 (diff) |
check-format.pl: Allow extra space before end-of-line comments unless -e|--eol-cmt given
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15077)
Diffstat (limited to 'util/check-format-test-negatives.c')
-rw-r--r-- | util/check-format-test-negatives.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/check-format-test-negatives.c b/util/check-format-test-negatives.c index b2e8220f4b..8149ff2b58 100644 --- a/util/check-format-test-negatives.c +++ b/util/check-format-test-negatives.c @@ -21,7 +21,7 @@ int f(void) /* * trailing multi-line comment */ { - if (ctx == NULL) { /* non-leading intra-line comment */ + if (ctx == NULL) { /* non-leading end-of-line comment */ if (/* comment after '(' */ pem_name != NULL /* comment before ')' */) /* entire-line comment indent usually like for the following line */ return NULL; /* hanging indent also for this line after comment */ |