From owner-cvs-all@FreeBSD.ORG Mon Feb 9 07:27:03 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA1D216A4CE; Mon, 9 Feb 2004 07:27:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C21C343D2F; Mon, 9 Feb 2004 07:27:03 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i19FR30B044811; Mon, 9 Feb 2004 07:27:03 -0800 (PST) (envelope-from bde@repoman.freebsd.org) Received: (from bde@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i19FR394044810; Mon, 9 Feb 2004 07:27:03 -0800 (PST) (envelope-from bde) Message-Id: <200402091527.i19FR394044810@repoman.freebsd.org> From: Bruce Evans Date: Mon, 9 Feb 2004 07:27:03 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/indent lexi.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 15:27:04 -0000 bde 2004/02/09 07:27:03 PST FreeBSD src repository Modified files: usr.bin/indent lexi.c Log: Fixed misformatting of "struct foo *bar" in function parameter lists. It was mangled to "struct foo * bar". There should be an option to control this, but no space is normal. This finishes fixing the bugs in rev.1.4. indent(1) still doesn't really understand types in parameter lists. It thinks keywords inside parentheses are for casts or sizeofs. This works accidentally for scalar types and this quick fix makes it work similarly but not so accidentally for struct/union/enum types. Revision Changes Path 1.18 +11 -8 src/usr.bin/indent/lexi.c