History log of /netbsd-src/tests/usr.bin/indent/opt_cli.c (Results 1 – 7 of 7)
Revision Date Author Comments
# 8bcc0783 10-Jun-2023 rillig <rillig@NetBSD.org>

indent: fix stack overflow, add more tests

For several parser symbols, 2 symbols are pushed in a row, which led to
an out-of-bounds write.


# 6da43190 06-Jun-2023 rillig <rillig@NetBSD.org>

indent: compute indentation of 'case' labels on-demand

One less moving part to keep track of.

No functional change.


# 47306038 24-Apr-2022 rillig <rillig@NetBSD.org>

tests/indent: change directive from '#' to '//'

Using a '//' instead of '#' turns the directives into well-formed C
code, resulting in fewer error markers in the editor.


# 53e024a7 22-Apr-2022 rillig <rillig@NetBSD.org>

indent: remove FreeBSD IDs

Most of the IDs were empty anyway.


# 2c9e62c1 28-Nov-2021 rillig <rillig@NetBSD.org>

tests/indent: migrate test token_case_label to lsym_case_label


# 95e11159 20-Nov-2021 rillig <rillig@NetBSD.org>

tests/indent: clean up and extend tests


# 32fe626b 22-Oct-2021 rillig <rillig@NetBSD.org>

tests/indent: migrate integer options tests to t_options