Module Name: src
Committed By: rillig
Date: Tue Oct 5 17:27:11 UTC 2021
Modified Files:
src/tests/usr.bin/indent: ps_ind_level.0.stdout
Log Message:
tests/indent: document missing space between '){'
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/indent/ps_ind_level.0.stdout
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/usr.bin/indent/ps_ind_level.0.stdout
diff -u src/tests/usr.bin/indent/ps_ind_level.0.stdout:1.2 src/tests/usr.bin/indent/ps_ind_level.0.stdout:1.3
--- src/tests/usr.bin/indent/ps_ind_level.0.stdout:1.2 Tue Oct 5 17:14:45 2021
+++ src/tests/usr.bin/indent/ps_ind_level.0.stdout Tue Oct 5 17:27:11 2021
@@ -1,8 +1,12 @@
-/* $NetBSD: ps_ind_level.0.stdout,v 1.2 2021/10/05 17:14:45 rillig Exp $ */
+/* $NetBSD: ps_ind_level.0.stdout,v 1.3 2021/10/05 17:27:11 rillig Exp $ */
/* $FreeBSD$ */
/* $ */
int declaration_in_column_25;
-/* $ FIXME: The space between '){' is missing. */
+/* $ The space between '){' is missing. This is because the tokenizer only */
+/* $ recognizes function definitions if they start at indentation level 0, */
+/* $ but this declaration starts at indentation level 4, due to the */
+/* $ declaration above. It's an edge case and probably not worth fixing. */
+/* $ See 'in_parameter_declaration = true'. */
void function_in_column_1(void){
}