CVS commit: src/usr.bin/indent

2023-12-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 3 21:44:43 UTC 2023 Modified Files: src/usr.bin/indent: args.c indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: inline input-related macros No binary change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2023-12-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 3 21:44:43 UTC 2023 Modified Files: src/usr.bin/indent: args.c indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: inline input-related macros No binary change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2023-12-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 3 21:40:44 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: group input-related variables into a struct No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2023-12-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 3 21:40:44 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h io.c Log Message: indent: group input-related variables into a struct No functional change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2023-12-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 3 21:03:58 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: use line number of the token start in diagnostics Previously, the line number of the end of the

CVS commit: src/usr.bin/indent

2023-12-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 3 21:03:58 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: use line number of the token start in diagnostics Previously, the line number of the end of the

CVS commit: src/usr.bin/indent

2023-12-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 3 20:42:32 UTC 2023 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: fix line number counting in function definition In a function definition that is split on two lines, if the first line ends with a '*',

CVS commit: src/usr.bin/indent

2023-12-03 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Dec 3 20:42:32 UTC 2023 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: fix line number counting in function definition In a function definition that is split on two lines, if the first line ends with a '*',

CVS commit: src/usr.bin/indent

2023-06-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 26 10:23:59 UTC 2023 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: clean up indentation To generate a diff of this commit: cvs rdiff -u -r1.236 -r1.237 src/usr.bin/indent/lexi.c Please note that diffs

CVS commit: src/usr.bin/indent

2023-06-26 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 26 10:23:59 UTC 2023 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: clean up indentation To generate a diff of this commit: cvs rdiff -u -r1.236 -r1.237 src/usr.bin/indent/lexi.c Please note that diffs

CVS commit: src/usr.bin/indent

2023-06-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 25 19:35:45 UTC 2023 Modified Files: src/usr.bin/indent: indent.c lexi.c Log Message: indent: move cast detection from the lexer to the main processor It is not the job of the lexer to modify the parser state. To

CVS commit: src/usr.bin/indent

2023-06-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 25 19:35:45 UTC 2023 Modified Files: src/usr.bin/indent: indent.c lexi.c Log Message: indent: move cast detection from the lexer to the main processor It is not the job of the lexer to modify the parser state. To

CVS commit: src/usr.bin/indent

2023-06-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 25 18:41:03 UTC 2023 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: don't use strspn on inp_p, as it is not null-terminated No functional change. To generate a diff of this commit: cvs rdiff -u -r1.232

CVS commit: src/usr.bin/indent

2023-06-25 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 25 18:41:03 UTC 2023 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: don't use strspn on inp_p, as it is not null-terminated No functional change. To generate a diff of this commit: cvs rdiff -u -r1.232

CVS commit: src/usr.bin/indent

2023-06-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 23 20:43:21 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h Log Message: indent: properly store parser state in debug mode The stacks in the parser state are allocated now and need to be copied

CVS commit: src/usr.bin/indent

2023-06-23 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 23 20:43:21 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h Log Message: indent: properly store parser state in debug mode The stacks in the parser state are allocated now and need to be copied

CVS commit: src/usr.bin/indent

2023-06-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 18 06:56:33 UTC 2023 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: untangle code for handling the statement indentation The expression 'psyms.level-- - 2' did too much in a single line, so extract the

CVS commit: src/usr.bin/indent

2023-06-18 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sun Jun 18 06:56:33 UTC 2023 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: untangle code for handling the statement indentation The expression 'psyms.level-- - 2' did too much in a single line, so extract the

CVS commit: src/usr.bin/indent

2023-06-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 17 23:03:20 UTC 2023 Modified Files: src/usr.bin/indent: io.c lexi.c pr_comment.c Log Message: indent: clean up Extract duplicate code for handling line continuations. Prevent theoretic undefined behavior in strspn, as

CVS commit: src/usr.bin/indent

2023-06-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 17 23:03:20 UTC 2023 Modified Files: src/usr.bin/indent: io.c lexi.c pr_comment.c Log Message: indent: clean up Extract duplicate code for handling line continuations. Prevent theoretic undefined behavior in strspn, as

CVS commit: src/usr.bin/indent

2023-06-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 17 22:28:49 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c io.c lexi.c parse.c pr_comment.c Log Message: indent: miscellaneous cleanups No binary change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2023-06-17 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 17 22:28:49 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c io.c lexi.c parse.c pr_comment.c Log Message: indent: miscellaneous cleanups No binary change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2023-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 16 23:17:22 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: add debug output for typedef declarations To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/usr.bin/indent/debug.c

CVS commit: src/usr.bin/indent

2023-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 16 23:17:22 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: add debug output for typedef declarations To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/usr.bin/indent/debug.c

CVS commit: src/usr.bin/indent

2023-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 16 11:27:49 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.h io.c pr_comment.c Log Message: indent: rename a field of the parser state The previous name 'comment_in_first_line' was misleading, as it could

CVS commit: src/usr.bin/indent

2023-06-16 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 16 11:27:49 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.h io.c pr_comment.c Log Message: indent: rename a field of the parser state The previous name 'comment_in_first_line' was misleading, as it could

CVS commit: src/usr.bin/indent

2023-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 15 11:27:37 UTC 2023 Modified Files: src/usr.bin/indent: indent.c io.c Log Message: indent: consolidate handling of statement continuations To generate a diff of this commit: cvs rdiff -u -r1.371 -r1.372

CVS commit: src/usr.bin/indent

2023-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 15 11:27:37 UTC 2023 Modified Files: src/usr.bin/indent: indent.c io.c Log Message: indent: consolidate handling of statement continuations To generate a diff of this commit: cvs rdiff -u -r1.371 -r1.372

CVS commit: src/usr.bin/indent

2023-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 15 10:59:06 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c Log Message: indent: rename state variable to be more accurate No binary change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2023-06-15 Thread Roland Illig
Module Name:src Committed By: rillig Date: Thu Jun 15 10:59:06 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c Log Message: indent: rename state variable to be more accurate No binary change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 21:35:01 UTC 2023 Modified Files: src/usr.bin/indent: args.c Log Message: indent: reduce number of relocations Since all command line options modify a member of struct options, there is no need to encode that

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 21:35:01 UTC 2023 Modified Files: src/usr.bin/indent: args.c Log Message: indent: reduce number of relocations Since all command line options modify a member of struct options, there is no need to encode that

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 17:52:46 UTC 2023 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: fix out-of-bounds read when reducing a statement Since parse.c 1.73 from today. The parser symbol psym_stmt_list that was removed in

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 17:52:46 UTC 2023 Modified Files: src/usr.bin/indent: parse.c Log Message: indent: fix out-of-bounds read when reducing a statement Since parse.c 1.73 from today. The parser symbol psym_stmt_list that was removed in

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 16:14:30 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c lexi.c parse.c Log Message: indent: clean up array indexing for parser symbols With 'top' pointing to the actual top element, the

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 16:14:30 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c lexi.c parse.c Log Message: indent: clean up array indexing for parser symbols With 'top' pointing to the actual top element, the

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 13:15:30 UTC 2023 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: merge duplicate code To generate a diff of this commit: cvs rdiff -u -r1.362 -r1.363 src/usr.bin/indent/indent.c Please note that

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 13:15:30 UTC 2023 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: merge duplicate code To generate a diff of this commit: cvs rdiff -u -r1.362 -r1.363 src/usr.bin/indent/indent.c Please note that

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 09:57:02 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.h io.c Log Message: indent: clean up debugging code To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/usr.bin/indent/debug.c cvs

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 09:57:02 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.h io.c Log Message: indent: clean up debugging code To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/usr.bin/indent/debug.c cvs

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 08:36:51 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h lexi.c pr_comment.c Log Message: indent: remove another flag from parser state When processing a comment, the flag ps.next_col_1 was not

CVS commit: src/usr.bin/indent

2023-06-14 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 14 08:36:51 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h lexi.c pr_comment.c Log Message: indent: remove another flag from parser state When processing a comment, the flag ps.next_col_1 was not

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 21:36:38 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c Log Message: indent: rename misleading variable The name started with 'line_start', but the value is not always the value from the

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 21:36:38 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c Log Message: indent: rename misleading variable The name started with 'line_start', but the value is not always the value from the

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 20:37:13 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c Log Message: indent: fix debug output When the parser state was first printed, there were unintended diff markers. Treat the previous lexer

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 20:37:13 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c Log Message: indent: fix debug output When the parser state was first printed, there were unintended diff markers. Treat the previous lexer

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 13:03:17 UTC 2023 Modified Files: src/usr.bin/indent: debug.c lexi.c Log Message: indent: clean up function names, fix blank lines in debug output To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 13:03:17 UTC 2023 Modified Files: src/usr.bin/indent: debug.c lexi.c Log Message: indent: clean up function names, fix blank lines in debug output To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 12:59:31 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: in debug mode, null-terminate buffers To generate a diff of this commit: cvs rdiff -u -r1.352

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 12:59:31 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c Log Message: indent: in debug mode, null-terminate buffers To generate a diff of this commit: cvs rdiff -u -r1.352

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 11:01:58 UTC 2023 Modified Files: src/usr.bin/indent: debug.c io.c Log Message: indent: distinguish blank lines from newline characters To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 11:01:58 UTC 2023 Modified Files: src/usr.bin/indent: debug.c io.c Log Message: indent: distinguish blank lines from newline characters To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 09:31:42 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: clean up debug output In diff mode, don't print a diff of the very first parser state, instead print its full state. Don't print

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 09:31:42 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: clean up debug output In diff mode, don't print a diff of the very first parser state, instead print its full state. Don't print

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 07:53:00 UTC 2023 Modified Files: src/usr.bin/indent: io.c Log Message: indent: extract output of an indented line to separate function To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 07:53:00 UTC 2023 Modified Files: src/usr.bin/indent: io.c Log Message: indent: extract output of an indented line to separate function To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 07:48:55 UTC 2023 Modified Files: src/usr.bin/indent: io.c Log Message: indent: clean up function names and order in output To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.211 src/usr.bin/indent/io.c

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 07:48:55 UTC 2023 Modified Files: src/usr.bin/indent: io.c Log Message: indent: clean up function names and order in output To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.211 src/usr.bin/indent/io.c

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 07:42:41 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c lexi.c Log Message: indent: clean up function and variable names To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/usr.bin/indent

2023-06-10 Thread Roland Illig
Module Name:src Committed By: rillig Date: Sat Jun 10 07:42:41 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c lexi.c Log Message: indent: clean up function and variable names To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 19:50:51 UTC 2023 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: clean up lexer No functional change. To generate a diff of this commit: cvs rdiff -u -r1.219 -r1.220 src/usr.bin/indent/lexi.c

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 19:50:51 UTC 2023 Modified Files: src/usr.bin/indent: lexi.c Log Message: indent: clean up lexer No functional change. To generate a diff of this commit: cvs rdiff -u -r1.219 -r1.220 src/usr.bin/indent/lexi.c

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 18:09:30 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: sync debug information for lexer symbols To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/usr.bin/indent/debug.c

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 18:09:30 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: sync debug information for lexer symbols To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/usr.bin/indent/debug.c

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 16:23:43 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h Log Message: indent: group lexer symbols by topic, sort processing functions No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 16:23:43 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h Log Message: indent: group lexer symbols by topic, sort processing functions No functional change. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 08:16:06 UTC 2023 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: eliminate unused variable No functional change. To generate a diff of this commit: cvs rdiff -u -r1.343 -r1.344

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 08:16:06 UTC 2023 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: eliminate unused variable No functional change. To generate a diff of this commit: cvs rdiff -u -r1.343 -r1.344

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 07:20:31 UTC 2023 Modified Files: src/usr.bin/indent: indent.c io.c lexi.c parse.c pr_comment.c Log Message: indent: format its own code To generate a diff of this commit: cvs rdiff -u -r1.341 -r1.342

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 07:20:31 UTC 2023 Modified Files: src/usr.bin/indent: indent.c io.c lexi.c parse.c pr_comment.c Log Message: indent: format its own code To generate a diff of this commit: cvs rdiff -u -r1.341 -r1.342

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 07:04:51 UTC 2023 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: express more clearly how delimited and no-wrap comments relate No functional change. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/indent

2023-06-09 Thread Roland Illig
Module Name:src Committed By: rillig Date: Fri Jun 9 07:04:51 UTC 2023 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: express more clearly how delimited and no-wrap comments relate No functional change. To generate a diff of this commit: cvs

CVS commit: src/usr.bin/indent

2023-06-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 7 15:46:12 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c lexi.c parse.c Log Message: indent: extract the stack of parser symbols to a separate struct No functional change. To generate a

CVS commit: src/usr.bin/indent

2023-06-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 7 15:46:12 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.c indent.h io.c lexi.c parse.c Log Message: indent: extract the stack of parser symbols to a separate struct No functional change. To generate a

CVS commit: src/usr.bin/indent

2023-06-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 7 15:25:09 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: send all debug output to the same stream To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.bin/indent/debug.c

CVS commit: src/usr.bin/indent

2023-06-07 Thread Roland Illig
Module Name:src Committed By: rillig Date: Wed Jun 7 15:25:09 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: send all debug output to the same stream To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.bin/indent/debug.c

CVS commit: src/usr.bin/indent

2023-06-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 07:14:20 UTC 2023 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: clean up formatting of comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154

CVS commit: src/usr.bin/indent

2023-06-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 07:14:20 UTC 2023 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: clean up formatting of comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154

CVS commit: src/usr.bin/indent

2023-06-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 06:59:39 UTC 2023 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: simplify handling of comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

CVS commit: src/usr.bin/indent

2023-06-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 06:59:39 UTC 2023 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: simplify handling of comments No functional change. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153

CVS commit: src/usr.bin/indent

2023-06-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 06:51:44 UTC 2023 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: split printing of comments into smaller functions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.151

CVS commit: src/usr.bin/indent

2023-06-06 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 06:51:44 UTC 2023 Modified Files: src/usr.bin/indent: pr_comment.c Log Message: indent: split printing of comments into smaller functions No functional change. To generate a diff of this commit: cvs rdiff -u -r1.151

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 05:27:56 UTC 2023 Modified Files: src/usr.bin/indent: io.c Log Message: indent: condense code for writing tabs No functional change. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 05:27:56 UTC 2023 Modified Files: src/usr.bin/indent: io.c Log Message: indent: condense code for writing tabs No functional change. To generate a diff of this commit: cvs rdiff -u -r1.200 -r1.201

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 05:11:11 UTC 2023 Modified Files: src/usr.bin/indent: debug.c io.c lexi.c parse.c Log Message: indent: sort functions in call order No functional change. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Tue Jun 6 05:11:11 UTC 2023 Modified Files: src/usr.bin/indent: debug.c io.c lexi.c parse.c Log Message: indent: sort functions in call order No functional change. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 20:56:18 UTC 2023 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: in 'if (expr)', the parentheses do not form a cast expression No functional change. When stepping through the code in debug mode, it

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 20:56:18 UTC 2023 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: in 'if (expr)', the parentheses do not form a cast expression No functional change. When stepping through the code in debug mode, it

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 14:40:14 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: improve layout of debug output To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.bin/indent/debug.c Please note

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 14:40:14 UTC 2023 Modified Files: src/usr.bin/indent: debug.c Log Message: indent: improve layout of debug output To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.bin/indent/debug.c Please note

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 14:22:26 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.h Log Message: indent: sync debug output with parser state To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/indent/debug.c

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 14:22:26 UTC 2023 Modified Files: src/usr.bin/indent: debug.c indent.h Log Message: indent: sync debug output with parser state To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.bin/indent/debug.c

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 12:06:51 UTC 2023 Modified Files: src/usr.bin/indent: io.c Log Message: indent: clean up comments To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/usr.bin/indent/io.c Please note that diffs are

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 12:06:51 UTC 2023 Modified Files: src/usr.bin/indent: io.c Log Message: indent: clean up comments To generate a diff of this commit: cvs rdiff -u -r1.197 -r1.198 src/usr.bin/indent/io.c Please note that diffs are

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 12:05:01 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h Log Message: indent: format own source code To generate a diff of this commit: cvs rdiff -u -r1.334 -r1.335 src/usr.bin/indent/indent.c cvs

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 12:05:01 UTC 2023 Modified Files: src/usr.bin/indent: indent.c indent.h Log Message: indent: format own source code To generate a diff of this commit: cvs rdiff -u -r1.334 -r1.335 src/usr.bin/indent/indent.c cvs

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 09:10:31 UTC 2023 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: make heuristics for '*' pointer types simpler Previously, a '}' token did not reset the state machine, but it should. To generate a

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 09:10:31 UTC 2023 Modified Files: src/usr.bin/indent: indent.c Log Message: indent: make heuristics for '*' pointer types simpler Previously, a '}' token did not reset the state machine, but it should. To generate a

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 07:35:05 UTC 2023 Modified Files: src/usr.bin/indent: args.c indent.c indent.h parse.c Log Message: indent: rename variables, clean up comments No binary change. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/indent

2023-06-05 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Jun 5 07:35:05 UTC 2023 Modified Files: src/usr.bin/indent: args.c indent.c indent.h parse.c Log Message: indent: rename variables, clean up comments No binary change. To generate a diff of this commit: cvs rdiff -u

  1   2   3   4   5   6   7   8   9   >