]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
indent(1): don't treat bare '_t' as a type name when -ta is used
authorAndriy Gapon <avg@FreeBSD.org>
Thu, 15 Apr 2010 21:41:07 +0000 (21:41 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Thu, 15 Apr 2010 21:41:07 +0000 (21:41 +0000)
commitc27b391b3f5fece33f763f040e229ed603e560bb
tree9fc504ddefde04a639c451d2f226a456e3380310
parentd52bba9301b45a85101914647396c9a92e26aad8
indent(1): don't treat bare '_t' as a type name when -ta is used

It seems that identifier "_t" is sometimes used as a variable name,
even in our tree.  Not that I endorse that, but still it's better
to require at least one character before _t suffix to consider
an identifier to be a type name.

Reported by: Alex Vasylenko <lxv@omut.org>
MFC after: 1 week
usr.bin/indent/lexi.c