Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 07:27:03 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/indent lexi.c
Message-ID:  <200402091527.i19FR394044810@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402091527.i19FR394044810>