NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/55453 CVS commit: src
The following reply was made to PR bin/55453; it has been noted by GNATS.
From: "Roland Illig" <rillig%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/55453 CVS commit: src
Date: Sat, 12 Feb 2022 19:56:53 +0000
Module Name: src
Committed By: rillig
Date: Sat Feb 12 19:56:53 UTC 2022
Modified Files:
src/tests/usr.bin/indent: lsym_typedef.c
src/usr.bin/indent: indent.h io.c lexi.c
Log Message:
indent: fix indentation of enum constants in typedef (since 2019-04-04)
The solution is not elegant since it adds a small state machine inside
the parser state, but at least these states only depend on the sequence
of token types and not on any other part of the parser state.
Reported in PR#55453.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/indent/lsym_typedef.c
cvs rdiff -u -r1.107 -r1.108 src/usr.bin/indent/indent.h
cvs rdiff -u -r1.143 -r1.144 src/usr.bin/indent/io.c
cvs rdiff -u -r1.168 -r1.169 src/usr.bin/indent/lexi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index