CVS commit: src/usr.bin/xlint/lint1

2024-06-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 8 20:47:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: abbreviate %lld to %d in the list of messages To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/usr.bin/xlint/lint1

2024-06-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 8 20:47:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: abbreviate %lld to %d in the list of messages To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/usr.bin/xlint/lint2

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 19:00:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint2: Makefile Log Message: lint: remove redundant LINTFLAGS for lint2 The -T flag is already provided by ../Makefile.inc, along with several other flags. To

CVS commit: src/usr.bin/xlint/lint2

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 19:00:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint2: Makefile Log Message: lint: remove redundant LINTFLAGS for lint2 The -T flag is already provided by ../Makefile.inc, along with several other flags. To

CVS commit: src/usr.bin/xlint

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 18:49:36 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: cksnprintb.c decl.c emit1.c err.c lex.c src/usr.bin/xlint/lint2: chk.c emit2.c read.c

CVS commit: src/usr.bin/xlint

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 18:49:36 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: cksnprintb.c decl.c emit1.c err.c lex.c src/usr.bin/xlint/lint2: chk.c emit2.c read.c

CVS commit: src/usr.bin/xlint

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 18:00:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: externs1.h main1.c src/usr.bin/xlint/xlint: xlint.c Log Message: lint: remove unused flag '-u' from lint1 This flag is completely handled by lint2.

CVS commit: src/usr.bin/xlint

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 18:00:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: externs1.h main1.c src/usr.bin/xlint/xlint: xlint.c Log Message: lint: remove unused flag '-u' from lint1 This flag is completely handled by lint2.

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 12:32:39 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: condense code for strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/xlint/lint1/ckbool.c

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 12:32:39 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c Log Message: lint: condense code for strict bool mode To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/usr.bin/xlint/lint1/ckbool.c

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 09:07:41 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y lex.c tree.c Log Message: lint: don't call memcpy with null pointer Even copying 0 bytes from a null pointer invokes undefined behavior. To generate

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 09:07:41 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y lex.c tree.c Log Message: lint: don't call memcpy with null pointer Even copying 0 bytes from a null pointer invokes undefined behavior. To generate

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 08:48:36 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h lex.c scan.l Log Message: lint: move code for parsing balanced token sequences to lex.c To access yytext from lex.c, the lexer needs to be

CVS commit: src/usr.bin/xlint/lint1

2024-05-12 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun May 12 08:48:36 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y externs1.h lex.c scan.l Log Message: lint: move code for parsing balanced token sequences to lex.c To access yytext from lex.c, the lexer needs to be

CVS commit: src/usr.bin/xlint/lint1

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 16:58:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up grammar rule name for 'type_specifier' To generate a diff of this commit: cvs rdiff -u -r1.500 -r1.501

CVS commit: src/usr.bin/xlint/lint1

2024-05-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat May 11 16:58:59 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up grammar rule name for 'type_specifier' To generate a diff of this commit: cvs rdiff -u -r1.500 -r1.501

CVS commit: src/usr.bin/xlint/lint1

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 21:43:40 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up conversion from floating point constant To generate a diff of this commit: cvs rdiff -u -r1.640 -r1.641

CVS commit: src/usr.bin/xlint/lint1

2024-05-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 10 21:43:40 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up conversion from floating point constant To generate a diff of this commit: cvs rdiff -u -r1.640 -r1.641

CVS commit: src/usr.bin/xlint/lint1

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:22:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sync grammar rule names with C11 and C23 To generate a diff of this commit: cvs rdiff -u -r1.497 -r1.498

CVS commit: src/usr.bin/xlint/lint1

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:22:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sync grammar rule names with C11 and C23 To generate a diff of this commit: cvs rdiff -u -r1.497 -r1.498

CVS commit: src/usr.bin/xlint/lint1

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:15:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sort grammar rules according to the order they appear in C23 To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497

CVS commit: src/usr.bin/xlint/lint1

2024-05-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu May 9 20:15:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: sort grammar rules according to the order they appear in C23 To generate a diff of this commit: cvs rdiff -u -r1.496 -r1.497

CVS commit: src/usr.bin/xlint/lint1

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 04:04:18 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lint1.h tree.c Log Message: lint: measure the alignment in bytes, not bits While measuring the alignment in bits

CVS commit: src/usr.bin/xlint/lint1

2024-05-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri May 3 04:04:18 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y debug.c decl.c externs1.h lint1.h tree.c Log Message: lint: measure the alignment in bytes, not bits While measuring the alignment in bits

CVS commit: src/usr.bin/xlint/lint1

2024-04-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 12 05:44:38 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c externs1.h tree.c Log Message: lint: clean up and speed up the check for snprintb To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/usr.bin/xlint/lint1

2024-04-11 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Apr 12 05:44:38 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c externs1.h tree.c Log Message: lint: clean up and speed up the check for snprintb To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/usr.bin/xlint/lint1

2024-03-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 31 20:28:45 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md debug.c lint1.h op.h oper.c tree.c Log Message: lint: merge function call operators 'CALL' and 'ICALL' To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint/lint1

2024-03-31 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 31 20:28:45 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md debug.c lint1.h op.h oper.c tree.c Log Message: lint: merge function call operators 'CALL' and 'ICALL' To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint/lint1

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 19:51:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: document which fields are not reset when starting a new type Setting all visible fields to their null value seemed as if the whole

CVS commit: src/usr.bin/xlint/lint1

2024-03-30 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 30 19:51:00 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c Log Message: lint: document which fields are not reset when starting a new type Setting all visible fields to their null value seemed as if the whole

CVS commit: src/usr.bin/xlint

2024-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 29 08:35:32 UTC 2024 Modified Files: src/usr.bin/xlint: Makefile.inc src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c init.c lex.c tree.c Log Message: lint: clean up To generate a diff of

CVS commit: src/usr.bin/xlint

2024-03-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 29 08:35:32 UTC 2024 Modified Files: src/usr.bin/xlint: Makefile.inc src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h func.c init.c lex.c tree.c Log Message: lint: clean up To generate a diff of

CVS commit: src/usr.bin/xlint/lint1

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 21:14:09 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add missing assignment to $$ in grammar Byacc and Bison both provide this assignment for all actions, whether default or not, but

CVS commit: src/usr.bin/xlint/lint1

2024-03-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 27 21:14:09 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: add missing assignment to $$ in grammar Byacc and Bison both provide this assignment for all actions, whether default or not, but

CVS commit: src/usr.bin/xlint/lint1

2024-03-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 19 23:19:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckctype.c ckgetopt.c debug.c emit1.c tree.c Log Message: lint: keep invalid arguments in function calls Previously, arguments of incomplete type or 'void'

CVS commit: src/usr.bin/xlint/lint1

2024-03-19 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Mar 19 23:19:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckctype.c ckgetopt.c debug.c emit1.c tree.c Log Message: lint: keep invalid arguments in function calls Previously, arguments of incomplete type or 'void'

CVS commit: src/usr.bin/xlint/lint1

2024-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 13 06:48:49 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: trim down the check for snprintb formats To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/usr.bin/xlint/lint1

2024-03-13 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Mar 13 06:48:49 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: trim down the check for snprintb formats To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 16:27:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: clean up tree matcher for snprintb calls To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 16:27:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: clean up tree matcher for snprintb calls To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 14:42:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up check for overflow in integer constants To generate a diff of this commit: cvs rdiff -u -r1.619 -r1.620

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 14:42:04 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: clean up check for overflow in integer constants To generate a diff of this commit: cvs rdiff -u -r1.619 -r1.620

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 12:50:46 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: split integer overflow check into separate functions The checks for unsigned and signed integers differ for each operator, so

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 12:50:46 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: split integer overflow check into separate functions The checks for unsigned and signed integers differ for each operator, so

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 09:24:54 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: in check for integer overflow, sort operators To generate a diff of this commit: cvs rdiff -u -r1.614 -r1.615

CVS commit: src/usr.bin/xlint/lint1

2024-03-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Mar 10 09:24:54 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: in check for integer overflow, sort operators To generate a diff of this commit: cvs rdiff -u -r1.614 -r1.615

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 14:54:14 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: merge duplicate code for checking array index To generate a diff of this commit: cvs rdiff -u -r1.612 -r1.613

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 14:54:14 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: tree.c Log Message: lint: merge duplicate code for checking array index To generate a diff of this commit: cvs rdiff -u -r1.612 -r1.613

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:54:47 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckbool.c ckctype.c ckgetopt.c cksnprintb.c debug.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:54:47 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckbool.c ckctype.c ckgetopt.c cksnprintb.c debug.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline

CVS commit: src/usr.bin/xlint

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:20:55 UTC 2024 Modified Files: src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: debug.c decl.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline accessor macros for type_t

CVS commit: src/usr.bin/xlint

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 13:20:55 UTC 2024 Modified Files: src/usr.bin/xlint/common: tyname.c src/usr.bin/xlint/lint1: debug.c decl.c emit1.c func.c init.c lint1.h tree.c Log Message: lint: inline accessor macros for type_t

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 11:05:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h Log Message: lint: clean up comments, use typedefs To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/usr.bin/xlint/lint1/lint1.h

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 11:05:05 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h Log Message: lint: clean up comments, use typedefs To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/usr.bin/xlint/lint1/lint1.h

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:54:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: func.c lint1.h Log Message: lint: internally store case label values in order of appearance To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:54:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: func.c lint1.h Log Message: lint: internally store case label values in order of appearance To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:47:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c lint1.h tree.c Log Message: lint: remove unneeded checks for left and right operands To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:47:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cksnprintb.c lint1.h tree.c Log Message: lint: remove unneeded checks for left and right operands To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:41:11 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h lint1.h Log Message: lint: use fewer struct keywords To generate a diff of this commit: cvs rdiff -u -r1.489 -r1.490

CVS commit: src/usr.bin/xlint/lint1

2024-03-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 9 10:41:11 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c externs1.h lint1.h Log Message: lint: use fewer struct keywords To generate a diff of this commit: cvs rdiff -u -r1.489 -r1.490

CVS commit: src/usr.bin/xlint

2024-03-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 2 09:32:19 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: decl.c emit1.c err.c lex.c src/usr.bin/xlint/lint2: chk.c emit2.c read.c src/usr.bin/xlint/xlint:

CVS commit: src/usr.bin/xlint

2024-03-02 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Mar 2 09:32:19 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h src/usr.bin/xlint/lint1: decl.c emit1.c err.c lex.c src/usr.bin/xlint/lint2: chk.c emit2.c read.c src/usr.bin/xlint/xlint:

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 21:52:48 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c cksnprintb.c emit1.c init.c lex.c tree.c Log Message: lint: fix misleading initializer for string iterator The field 'start' marks the

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 21:52:48 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c cksnprintb.c emit1.c init.c lex.c tree.c Log Message: lint: fix misleading initializer for string iterator The field 'start' marks the

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 19:40:45 UTC 2024 Added Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: test format strings from snprintb calls The functions snprintb and snprintb_m are specific to NetBSD, and their format strings

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 19:40:45 UTC 2024 Added Files: src/usr.bin/xlint/lint1: cksnprintb.c Log Message: lint: test format strings from snprintb calls The functions snprintb and snprintb_m are specific to NetBSD, and their format strings

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:14:34 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix type error in strict bool mode (since yesterday) To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219

CVS commit: src/usr.bin/xlint/lint1

2024-03-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Mar 1 17:14:34 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: fix type error in strict bool mode (since yesterday) To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219

CVS commit: src/usr.bin/xlint/lint1

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 21:37:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint1: remove redundant type table for integer constant suffixes To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218

CVS commit: src/usr.bin/xlint/lint1

2024-02-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 29 21:37:10 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint1: remove redundant type table for integer constant suffixes To generate a diff of this commit: cvs rdiff -u -r1.217 -r1.218

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 20:59:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c lex.c tree.c Log Message: lint: clean up variable names, parameter order, comments No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 20:59:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: decl.c lex.c tree.c Log Message: lint: clean up variable names, parameter order, comments No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 20:45:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c emit1.c func.c init.c lex.c tree.c Log Message: lint: clean up redundant braces No functional change. To generate a diff of this

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 20:45:20 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y decl.c emit1.c func.c init.c lex.c tree.c Log Message: lint: clean up redundant braces No functional change. To generate a diff of this

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 19:32:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up comments, add debug output for Bison To generate a diff of this commit: cvs rdiff -u -r1.487 -r1.488

CVS commit: src/usr.bin/xlint/lint1

2024-02-08 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 8 19:32:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: cgram.y Log Message: lint: clean up comments, add debug output for Bison To generate a diff of this commit: cvs rdiff -u -r1.487 -r1.488

CVS commit: src/usr.bin/xlint/lint1

2024-02-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 08:00:37 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: use consistent variable names, reduce code for reading a byte No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/xlint/lint1

2024-02-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Feb 7 08:00:37 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: use consistent variable names, reduce code for reading a byte No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/xlint/lint1

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 22:47:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: Makefile check-msgs.lua err.c makeman Log Message: lint: tab-align message numbers in err.c By replacing block comments with end-of-line comments, the

CVS commit: src/usr.bin/xlint/lint1

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 22:47:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: Makefile check-msgs.lua err.c makeman Log Message: lint: tab-align message numbers in err.c By replacing block comments with end-of-line comments, the

CVS commit: src/usr.bin/xlint/lint1

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 21:28:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: remove implementation details from message list >From a user's perspective, it's irrelevant whether a lint message is generated

CVS commit: src/usr.bin/xlint/lint1

2024-02-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Feb 6 21:28:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: makeman Log Message: lint.7: remove implementation details from message list >From a user's perspective, it's irrelevant whether a lint message is generated

CVS commit: src/usr.bin/xlint/lint1

2024-02-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 5 23:11:23 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckctype.c ckgetopt.c debug.c emit1.c externs1.h lint1.h op.h oper.c tree.c Log Message: lint: make function call arguments

CVS commit: src/usr.bin/xlint/lint1

2024-02-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Feb 5 23:11:23 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: README.md cgram.y ckctype.c ckgetopt.c debug.c emit1.c externs1.h lint1.h op.h oper.c tree.c Log Message: lint: make function call arguments

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:37:02 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h main1.c Log Message: lint: remove excessive empty lines To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:37:02 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lint1.h main1.c Log Message: lint: remove excessive empty lines To generate a diff of this commit: cvs rdiff -u -r1.212 -r1.213

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:25:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: keep strings in their source representation This allows

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 19:25:16 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: keep strings in their source representation This allows

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 12:57:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c ckgetopt.c decl.c emit1.c externs1.h func.c lex.c main1.c Log Message: lint: clean up comments, reduce scope of variables To generate a

CVS commit: src/usr.bin/xlint/lint1

2024-02-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Feb 3 12:57:12 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckbool.c ckgetopt.c decl.c emit1.c externs1.h func.c lex.c main1.c Log Message: lint: clean up comments, reduce scope of variables To generate a

CVS commit: src/usr.bin/xlint

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 21:19:13 UTC 2024 Modified Files: src/usr.bin/xlint/common: externs.h tyname.c src/usr.bin/xlint/lint1: lex.c tree.c Log Message: lint: reuse buffer editing code across lint1 Fix cat_strings to update the

CVS commit: src/usr.bin/xlint

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 21:19:13 UTC 2024 Modified Files: src/usr.bin/xlint/common: externs.h tyname.c src/usr.bin/xlint/lint1: lex.c tree.c Log Message: lint: reuse buffer editing code across lint1 Fix cat_strings to update the

CVS commit: src/usr.bin/xlint

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 18:37:07 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h tyname.c src/usr.bin/xlint/lint1: cgram.y ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: use

CVS commit: src/usr.bin/xlint

2024-02-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Feb 1 18:37:07 UTC 2024 Modified Files: src/usr.bin/xlint/common: lint.h tyname.c src/usr.bin/xlint/lint1: cgram.y ckgetopt.c debug.c emit1.c externs1.h init.c lex.c lint1.h tree.c Log Message: lint: use

CVS commit: src/usr.bin/xlint/lint1

2024-01-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 29 21:30:25 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c lex.c lint1.h tree.c Log Message: lint: do not remember content of wide string literals The plain char literals are

CVS commit: src/usr.bin/xlint/lint1

2024-01-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 29 21:30:25 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c debug.c emit1.c lex.c lint1.h tree.c Log Message: lint: do not remember content of wide string literals The plain char literals are

CVS commit: src/usr.bin/xlint/lint1

2024-01-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 29 21:04:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c Log Message: lint: check getopt call more strictly Previously, '(c = getopt(...)) != -2' would match as well. To generate a diff of this commit:

CVS commit: src/usr.bin/xlint/lint1

2024-01-29 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jan 29 21:04:21 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: ckgetopt.c Log Message: lint: check getopt call more strictly Previously, '(c = getopt(...)) != -2' would match as well. To generate a diff of this commit:

CVS commit: src/usr.bin/xlint/lint1

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 15:53:28 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: split determining the type of an integer constant No functional change. To generate a diff of this commit: cvs rdiff -u -r1.201

CVS commit: src/usr.bin/xlint/lint1

2024-01-27 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jan 27 15:53:28 UTC 2024 Modified Files: src/usr.bin/xlint/lint1: lex.c Log Message: lint: split determining the type of an integer constant No functional change. To generate a diff of this commit: cvs rdiff -u -r1.201

  1   2   3   4   5   6   7   8   9   10   >