OpenGrok
Cross Reference: parse_stmt_error.c
xref
: /
src
/
tests
/
usr.bin
/
xlint
/
lint1
/
parse_stmt_error.c
Home
|
History
|
Annotate
|
Download
|
only in
lint1
History log of
/src/tests/usr.bin/xlint/lint1/parse_stmt_error.c
Revision
Date
Author
Comments
1.3
28-Mar-2023
rillig
lint: warn about extern declarations outside headers
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html
1.2
17-Jun-2022
rillig
tests/lint: make 'expect+-' comments stricter
Previously, the expectations from these comments were already satisfied
if the expectation occurred somewhere in the actual message from lint.
This meant that the prefix 'error:' or 'warning:' could be omitted from
the 'expect' comment. These omissions were hard to see in a manual
review. Now any omissions must be visually marked with '...'.
The test msg_342 now reports its messages properly as being in the file
msg_342.c, rather than msg_341.c. This had been a copy-and-paste
mistake.
1.1
25-Jul-2021
rillig
tests/lint: test parse errors in statements
These errors are really unrealistic. Most parse errors that occur in
statements are already handled elsewhere and continue with the next
semicolon.
The tests had to be split into two separate files because lint assumes
that after the 5th parse error, it does not make sense to continue this
translation unit.
Indexes created Sun Oct 05 05:09:57 GMT 2025