freebsd-dev/usr.bin/indent/tests
Piotr Pawel Stefaniak 3c51c3cf5f indent(1): improve handling of boxed comments indentation
The trick is to copy everything from the start of the line into the buffer
that stores newlines and comments until indent finds a brace or an else.
pr_comment() will use that information to calculate the original indentation
of the boxed comment.

This requires storing two pieces of information: the real start of the
buffer (sc_buf) and the start of the comment (save_com).
2018-06-03 15:28:55 +00:00
..
binary.0
binary.0.stdout
comments.0 indent(1): improve handling of boxed comments indentation 2018-06-03 15:28:55 +00:00
comments.0.pro indent(1): rename the profile file. 2017-07-23 15:07:52 +00:00
comments.0.stdout indent(1): improve handling of boxed comments indentation 2018-06-03 15:28:55 +00:00
declarations.0 indent(1): don't indent typedef declarations as object declarations 2018-06-01 09:41:15 +00:00
declarations.0.stdout indent(1): don't add unneeded space to function pointer declarations 2018-06-01 09:58:44 +00:00
elsecomment.0 indent(1): improve handling of comments and newlines between "if (...)" or 2018-06-03 14:03:20 +00:00
elsecomment.0.pro
elsecomment.0.stdout indent(1): improve handling of comments and newlines between "if (...)" or 2018-06-03 14:03:20 +00:00
float.0
float.0.stdout
functional_test.sh
label.0
label.0.pro
label.0.stdout
list_head.0
list_head.0.stdout
Makefile indent(1): restore working -pcs 2018-06-01 19:56:41 +00:00
Makefile.depend DIRDEPS_BUILD: Connect new directories. 2017-10-31 00:04:07 +00:00
nsac.0
nsac.0.pro
nsac.0.stdout
offsetof.0
offsetof.0.stdout
parens.0 indent(1): identifiers inside parentheses are not declarations 2018-06-01 08:54:51 +00:00
parens.0.pro indent(1): identifiers inside parentheses are not declarations 2018-06-01 08:54:51 +00:00
parens.0.stdout indent(1): identifiers inside parentheses are not declarations 2018-06-01 08:54:51 +00:00
pcs.0 indent(1): restore working -pcs 2018-06-01 19:56:41 +00:00
pcs.0.pro indent(1): restore working -pcs 2018-06-01 19:56:41 +00:00
pcs.0.stdout indent(1): restore working -pcs 2018-06-01 19:56:41 +00:00
sac.0
sac.0.pro
sac.0.stdout
struct.0
struct.0.stdout
surplusbad.0
surplusbad.0.pro
surplusbad.0.stdout
types_from_file.0
types_from_file.0.list
types_from_file.0.pro
types_from_file.0.stdout
wchar.0
wchar.0.stdout