Add a hint to the C++ ending guard message

Change-Id: I26f90a3a9f81d71e4cc2bf13777492552227140d
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/55325
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
fips-20230428
Bob Beck 2 years ago committed by Boringssl LUCI CQ
parent 6cda656e4a
commit 2fd8de6534
  1. 4
      util/doc.go

@ -411,9 +411,9 @@ func (config *Config) parseHeader(path string) (*HeaderFile, error) {
lines = lines[1:]
lineNo++
break
}
}
if line == cppGuard {
return nil, fmt.Errorf("hit ending C++ guard while in section on line %d", lineNo)
return nil, fmt.Errorf("hit ending C++ guard while in section on line %d (possibly missing two empty lines ahead of guard?)", lineNo)
}
var comment []string

Loading…
Cancel
Save