Module Name:src
Committed By: rillig
Date: Sun Oct 31 19:57:44 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: replace simple cases of keyword_kind with lexer_symbol
The remaining keyword kinds 'tag' and 'type' require a bit more
Module Name:src
Committed By: rillig
Date: Sun Oct 31 10:09:43 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: add separate lexer symbol for offsetof
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.197
Module Name:src
Committed By: rillig
Date: Sun Oct 31 10:09:43 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: add separate lexer symbol for offsetof
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.197
Module Name:src
Committed By: rillig
Date: Sun Oct 31 10:00:38 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: add separate lexer symbol for sizeof
The plan is to get rid of the type keyword_kind, which largely overlaps
with lexe
Module Name:src
Committed By: rillig
Date: Sun Oct 31 10:00:38 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: add separate lexer symbol for sizeof
The plan is to get rid of the type keyword_kind, which largely overlaps
with lexe
Module Name:src
Committed By: rillig
Date: Sun Oct 31 09:52:37 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h lexi.c
Log Message:
indent: clean up definition of keywords
Rename kw_struct_or_union_or_enum to the shorter kw_tag.
Merge kw_jump with kw_inline_or_restr
Module Name:src
Committed By: rillig
Date: Sun Oct 31 09:52:37 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h lexi.c
Log Message:
indent: clean up definition of keywords
Rename kw_struct_or_union_or_enum to the shorter kw_tag.
Merge kw_jump with kw_inline_or_restr
Module Name:src
Committed By: rillig
Date: Sun Oct 31 09:41:48 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: condense lexi_alnum
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/usr.bin/indent/lexi.c
P
Module Name:src
Committed By: rillig
Date: Sun Oct 31 09:41:48 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: condense lexi_alnum
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.117 -r1.118 src/usr.bin/indent/lexi.c
P
Module Name:src
Committed By: rillig
Date: Sat Oct 30 23:27:33 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: push down variable comment_buffered
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.195 -r1.196 src/usr.bi
Module Name:src
Committed By: rillig
Date: Sat Oct 30 23:27:33 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: push down variable comment_buffered
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.195 -r1.196 src/usr.bi
Module Name:src
Committed By: rillig
Date: Sat Oct 30 22:41:18 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: move debugging functions to a separate section
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/usr.bin/indent/inden
Module Name:src
Committed By: rillig
Date: Sat Oct 30 22:41:18 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: move debugging functions to a separate section
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/usr.bin/indent/inden
Module Name:src
Committed By: rillig
Date: Sat Oct 30 22:25:11 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: in debug output, list the new token first
To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/usr.bin/indent/lexi.c
Pl
Module Name:src
Committed By: rillig
Date: Sat Oct 30 22:25:11 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: in debug output, list the new token first
To generate a diff of this commit:
cvs rdiff -u -r1.115 -r1.116 src/usr.bin/indent/lexi.c
Pl
Module Name:src
Committed By: rillig
Date: Sat Oct 30 22:15:51 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h lexi.c
Log Message:
indent: clean up lexical analyzer
Use traditional type for small unsigned numbers instead of uint8_t; the
required header was not inclu
Module Name:src
Committed By: rillig
Date: Sat Oct 30 22:15:51 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h lexi.c
Log Message:
indent: clean up lexical analyzer
Use traditional type for small unsigned numbers instead of uint8_t; the
required header was not inclu
Module Name:src
Committed By: rillig
Date: Sat Oct 30 20:01:46 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: reorder assignments in switch_buffer
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 src/usr.b
Module Name:src
Committed By: rillig
Date: Sat Oct 30 20:01:46 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: reorder assignments in switch_buffer
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 src/usr.b
Module Name:src
Committed By: rillig
Date: Sat Oct 30 18:58:05 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: move buffer functions further up
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/usr.bin/i
Module Name:src
Committed By: rillig
Date: Sat Oct 30 18:58:05 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: move buffer functions further up
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/usr.bin/i
Module Name:src
Committed By: rillig
Date: Sat Oct 30 18:47:36 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: group variables by topic
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/usr.bin/indent/in
Module Name:src
Committed By: rillig
Date: Sat Oct 30 18:47:36 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: group variables by topic
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.191 -r1.192 src/usr.bin/indent/in
Module Name:src
Committed By: rillig
Date: Sat Oct 30 18:23:17 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: fix bounds check for sc_buf
Some years ago, save_com was an array of characters, used as temporary
storage. When sc_buf was added,
Module Name:src
Committed By: rillig
Date: Sat Oct 30 18:23:17 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: fix bounds check for sc_buf
Some years ago, save_com was an array of characters, used as temporary
storage. When sc_buf was added,
Module Name:src
Committed By: rillig
Date: Sat Oct 30 17:55:45 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: prevent buffer overflow in search_stmt_comment
printf '{ if (%01d) /*comment*/ ; }' '0' | indent
To generate a diff of this comm
Module Name:src
Committed By: rillig
Date: Sat Oct 30 17:55:45 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: prevent buffer overflow in search_stmt_comment
printf '{ if (%01d) /*comment*/ ; }' '0' | indent
To generate a diff of this comm
Module Name:src
Committed By: rillig
Date: Sat Oct 30 17:18:26 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: add debug logging for save_com
This will help in finding the proper fix for the assertion failure in
search_stmt_comment.
Add an asse
Module Name:src
Committed By: rillig
Date: Sat Oct 30 17:18:26 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: add debug logging for save_com
This will help in finding the proper fix for the assertion failure in
search_stmt_comment.
Add an asse
Module Name:src
Committed By: rillig
Date: Sat Oct 30 16:18:51 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: prevent buffer overflows in 'if (expr) ... stmt'
To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/usr.bin/indent/i
Module Name:src
Committed By: rillig
Date: Sat Oct 30 16:18:51 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: prevent buffer overflows in 'if (expr) ... stmt'
To generate a diff of this commit:
cvs rdiff -u -r1.188 -r1.189 src/usr.bin/indent/i
Module Name:src
Committed By: rillig
Date: Sat Oct 30 11:49:38 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: inline macro label_offset
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/usr.bin/inden
Module Name:src
Committed By: rillig
Date: Sat Oct 30 11:49:38 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: inline macro label_offset
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/usr.bin/inden
Module Name:src
Committed By: rillig
Date: Sat Oct 30 11:37:38 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: replace tabsize with hardcoded 8 in process_comma
On 2018-07-25, FreeBSD added the option '-ts' to make the tabulator size
configurabl
Module Name:src
Committed By: rillig
Date: Sat Oct 30 11:37:38 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: replace tabsize with hardcoded 8 in process_comma
On 2018-07-25, FreeBSD added the option '-ts' to make the tabulator size
configurabl
Module Name:src
Committed By: rillig
Date: Sat Oct 30 11:10:36 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: don't risk a buffer overflow in code_add_decl_indent
The buffers have a safety margin of 5 characters, so the bounds check is
not stri
Module Name:src
Committed By: rillig
Date: Sat Oct 30 11:10:36 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: don't risk a buffer overflow in code_add_decl_indent
The buffers have a safety margin of 5 characters, so the bounds check is
not stri
Module Name:src
Committed By: rillig
Date: Sat Oct 30 11:05:26 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: clean up code_add_decl_indent
In layout computations, it is helpful for human readers to list the
summands in logical order. In this c
Module Name:src
Committed By: rillig
Date: Sat Oct 30 11:05:26 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: clean up code_add_decl_indent
In layout computations, it is helpful for human readers to list the
summands in logical order. In this c
Module Name:src
Committed By: rillig
Date: Sat Oct 30 10:59:07 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: remove confusing modulo from code_add_decl_indent
The only effects of the modulo operation was to make indent slower and
to confuse hu
Module Name:src
Committed By: rillig
Date: Sat Oct 30 10:59:07 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: remove confusing modulo from code_add_decl_indent
The only effects of the modulo operation was to make indent slower and
to confuse hu
Module Name:src
Committed By: rillig
Date: Sat Oct 30 10:01:31 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: inline bloated call to 'parse' during initialization
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.181 -
Module Name:src
Committed By: rillig
Date: Sat Oct 30 10:01:31 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: inline bloated call to 'parse' during initialization
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.181 -
Module Name:src
Committed By: rillig
Date: Sat Oct 30 09:51:23 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: condense code for parsing command line arguments
Previously, the cascade of 'if' statements suggested that there were 6
different case
Module Name:src
Committed By: rillig
Date: Sat Oct 30 09:51:23 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: condense code for parsing command line arguments
Previously, the cascade of 'if' statements suggested that there were 6
different case
Module Name:src
Committed By: rillig
Date: Sat Oct 30 09:42:31 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: extract main_load_profiles from main_parse_command_line
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.17
Module Name:src
Committed By: rillig
Date: Sat Oct 30 09:42:31 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: extract main_load_profiles from main_parse_command_line
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.17
Module Name:src
Committed By: rillig
Date: Fri Oct 29 23:48:50 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c lexi.c parse.c
Log Message:
indent: remove redundant comments, remove punctuation from debug log
The comment about 'null stmt' between braces probably mean
Module Name:src
Committed By: rillig
Date: Fri Oct 29 23:48:50 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c lexi.c parse.c
Log Message:
indent: remove redundant comments, remove punctuation from debug log
The comment about 'null stmt' between braces probably mean
Module Name:src
Committed By: rillig
Date: Fri Oct 29 23:03:53 UTC 2021
Modified Files:
src/usr.bin/indent: parse.c
Log Message:
indent: remove redundant comments
The comments only repeated what the constants for the parser symbols
already express in their names. In the p
Module Name:src
Committed By: rillig
Date: Fri Oct 29 23:03:53 UTC 2021
Modified Files:
src/usr.bin/indent: parse.c
Log Message:
indent: remove redundant comments
The comments only repeated what the constants for the parser symbols
already express in their names. In the p
Module Name:src
Committed By: rillig
Date: Fri Oct 29 22:52:50 UTC 2021
Modified Files:
src/usr.bin/indent: parse.c
Log Message:
indent: reduce indentation in parse, extract decl_level
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 s
Module Name:src
Committed By: rillig
Date: Fri Oct 29 22:52:50 UTC 2021
Modified Files:
src/usr.bin/indent: parse.c
Log Message:
indent: reduce indentation in parse, extract decl_level
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 s
Module Name:src
Committed By: rillig
Date: Fri Oct 29 21:31:29 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: in debug mode, log only differences for most ps members
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/usr.bin/ind
Module Name:src
Committed By: rillig
Date: Fri Oct 29 21:31:29 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: in debug mode, log only differences for most ps members
To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/usr.bin/ind
Module Name:src
Committed By: rillig
Date: Fri Oct 29 21:22:06 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: add detailed debug logging for the parser state
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/usr.bin/indent/lexi
Module Name:src
Committed By: rillig
Date: Fri Oct 29 21:22:06 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: add detailed debug logging for the parser state
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.112 src/usr.bin/indent/lexi
Module Name:src
Committed By: rillig
Date: Fri Oct 29 20:27:42 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c
Log Message:
indent: merge isblank and is_hspace into ch_isblank
No functional change.
To generate a diff of this commi
Module Name:src
Committed By: rillig
Date: Fri Oct 29 20:27:42 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c lexi.c pr_comment.c
Log Message:
indent: merge isblank and is_hspace into ch_isblank
No functional change.
To generate a diff of this commi
Module Name:src
Committed By: rillig
Date: Fri Oct 29 19:52:59 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: parse options in a platform-independent way
Previously, on an ILP32 platform, the option '-ts3'
resulted in the error me
Module Name:src
Committed By: rillig
Date: Fri Oct 29 19:52:59 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: parse options in a platform-independent way
Previously, on an ILP32 platform, the option '-ts3'
resulted in the error me
Module Name:src
Committed By: rillig
Date: Fri Oct 29 19:31:24 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: initialize 'ps' via code
This saves 3 kB of binary size since the parser state is rather large
and only very few members are initializ
Module Name:src
Committed By: rillig
Date: Fri Oct 29 19:31:24 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: initialize 'ps' via code
This saves 3 kB of binary size since the parser state is rather large
and only very few members are initializ
Module Name:src
Committed By: rillig
Date: Fri Oct 29 19:12:49 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c io.c pr_comment.c
Log Message:
indent: fix undefined behavior in buffer handling
Adding an arbitrary integer to a pointer may result in an out of bounds
po
Module Name:src
Committed By: rillig
Date: Fri Oct 29 19:12:49 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c io.c pr_comment.c
Log Message:
indent: fix undefined behavior in buffer handling
Adding an arbitrary integer to a pointer may result in an out of bounds
po
Module Name:src
Committed By: rillig
Date: Fri Oct 29 18:50:52 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: mark obviously broken code
To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/usr.bin/indent/indent.c
Please note t
Module Name:src
Committed By: rillig
Date: Fri Oct 29 18:50:52 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c
Log Message:
indent: mark obviously broken code
To generate a diff of this commit:
cvs rdiff -u -r1.171 -r1.172 src/usr.bin/indent/indent.c
Please note t
Module Name:src
Committed By: rillig
Date: Fri Oct 29 18:18:03 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: reorder global variables to be more intuitive
The buffer 'inp' comes first. From there, a single token is read into
the buffer 't
Module Name:src
Committed By: rillig
Date: Fri Oct 29 18:18:03 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h io.c
Log Message:
indent: reorder global variables to be more intuitive
The buffer 'inp' comes first. From there, a single token is read into
the buffer 't
Module Name:src
Committed By: rillig
Date: Fri Oct 29 17:41:56 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: group members of parser_state by topic
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/usr.b
Module Name:src
Committed By: rillig
Date: Fri Oct 29 17:41:56 UTC 2021
Modified Files:
src/usr.bin/indent: indent.h
Log Message:
indent: group members of parser_state by topic
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 src/usr.b
Module Name:src
Committed By: rillig
Date: Fri Oct 29 17:32:22 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: rename ps.dumped_decl_indent and indent_declaration
The word 'dump' in 'ps.dumped_decl_indent' was too close to dump_lin
Module Name:src
Committed By: rillig
Date: Fri Oct 29 17:32:22 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h io.c
Log Message:
indent: rename ps.dumped_decl_indent and indent_declaration
The word 'dump' in 'ps.dumped_decl_indent' was too close to dump_lin
Module Name:src
Committed By: rillig
Date: Fri Oct 29 16:59:35 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: keep p_l_follow nonnegative, use consistent comparison
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Fri Oct 29 16:59:35 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: keep p_l_follow nonnegative, use consistent comparison
No functional change.
To generate a diff of this commit:
cvs
Module Name:src
Committed By: rillig
Date: Thu Oct 28 22:20:08 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c indent.h parse.c
Log Message:
indent: clean up indentation, comments, reduce
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Thu Oct 28 22:20:08 UTC 2021
Modified Files:
src/usr.bin/indent: args.c indent.c indent.h parse.c
Log Message:
indent: clean up indentation, comments, reduce
No functional change.
To generate a diff of this commit:
cvs rdiff -u
Module Name:src
Committed By: rillig
Date: Thu Oct 28 22:06:23 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c lexi.c
Log Message:
indent: remove unused local variable in lexi
Since the previous commit, lexi is always called with the same argument,
so remove that pa
Module Name:src
Committed By: rillig
Date: Thu Oct 28 22:06:23 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c lexi.c
Log Message:
indent: remove unused local variable in lexi
Since the previous commit, lexi is always called with the same argument,
so remove that pa
Module Name:src
Committed By: rillig
Date: Thu Oct 28 21:56:26 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: reduce negations in search_stmt_lookahead
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rillig
Date: Thu Oct 28 21:56:26 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: reduce negations in search_stmt_lookahead
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rillig
Date: Thu Oct 28 21:51:43 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h parse.c
Log Message:
indent: clean up comments and function names
Having accurate names for the lexer symbols and the parser symbols makes
most of
Module Name:src
Committed By: rillig
Date: Thu Oct 28 21:51:43 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h parse.c
Log Message:
indent: clean up comments and function names
Having accurate names for the lexer symbols and the parser symbols makes
most of
Module Name:src
Committed By: rillig
Date: Thu Oct 28 20:49:36 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: topologically sort functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/usr.bin/indent/ar
Module Name:src
Committed By: rillig
Date: Thu Oct 28 20:49:36 UTC 2021
Modified Files:
src/usr.bin/indent: args.c
Log Message:
indent: topologically sort functions
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/usr.bin/indent/ar
Module Name:src
Committed By: rillig
Date: Tue Oct 26 21:23:52 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: reduce indentation in process_comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/us
Module Name:src
Committed By: rillig
Date: Tue Oct 26 21:23:52 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: reduce indentation in process_comment
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/us
Module Name:src
Committed By: rillig
Date: Tue Oct 26 21:04:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: make reformatting of comments simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/us
Module Name:src
Committed By: rillig
Date: Tue Oct 26 21:04:03 UTC 2021
Modified Files:
src/usr.bin/indent: pr_comment.c
Log Message:
indent: make reformatting of comments simpler
No functional change.
To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/us
Module Name:src
Committed By: rillig
Date: Tue Oct 26 20:43:35 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: make ps.keyword easier to understand
Previously, ps.keyword did not have any documentation and was not
straight-forwar
Module Name:src
Committed By: rillig
Date: Tue Oct 26 20:43:35 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c indent.h lexi.c
Log Message:
indent: make ps.keyword easier to understand
Previously, ps.keyword did not have any documentation and was not
straight-forwar
Module Name:src
Committed By: rillig
Date: Tue Oct 26 20:17:42 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: fix debug logging
The parser state is not always 'ps', so the debug logging must use the
correct state as well.
To generate a diff of
Module Name:src
Committed By: rillig
Date: Tue Oct 26 20:17:42 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: fix debug logging
The parser state is not always 'ps', so the debug logging must use the
correct state as well.
To generate a diff of
Module Name:src
Committed By: rillig
Date: Tue Oct 26 19:36:30 UTC 2021
Modified Files:
src/usr.bin/indent: .indent.pro args.c indent.c indent.h lexi.c parse.c
Log Message:
indent: run indent on its own source code
With manual corrections afterwards, to compensate for the
Module Name:src
Committed By: rillig
Date: Tue Oct 26 19:36:30 UTC 2021
Modified Files:
src/usr.bin/indent: .indent.pro args.c indent.c indent.h lexi.c parse.c
Log Message:
indent: run indent on its own source code
With manual corrections afterwards, to compensate for the
Module Name:src
Committed By: rillig
Date: Tue Oct 26 18:36:25 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: merge duplicate code in lexi_alnum
To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/usr.bin/indent/lexi.c
Please no
Module Name:src
Committed By: rillig
Date: Tue Oct 26 18:36:25 UTC 2021
Modified Files:
src/usr.bin/indent: lexi.c
Log Message:
indent: merge duplicate code in lexi_alnum
To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/usr.bin/indent/lexi.c
Please no
Module Name:src
Committed By: rillig
Date: Mon Oct 25 21:33:24 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c lexi.c
Log Message:
indent: improve debug logging
Output the various details in chronological order.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rillig
Date: Mon Oct 25 21:33:24 UTC 2021
Modified Files:
src/usr.bin/indent: indent.c lexi.c
Log Message:
indent: improve debug logging
Output the various details in chronological order.
To generate a diff of this commit:
cvs rdiff -u -r1.
Module Name:src
Committed By: rillig
Date: Mon Oct 25 20:32:38 UTC 2021
Modified Files:
src/usr.bin/indent: parse.c
Log Message:
indent: do not output token in debug mode
When the parse stack is manipulated, the text of the token is not
relevant anymore and may even be co
401 - 500 of 815 matches
Mail list logo