Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!ladcgw!frank From: frank@ladcgw.UUCP (Frank Mayhar) Newsgroups: comp.os.minix Subject: Indent bug. Message-ID: <359@ladcgw.UUCP> Date: 26 Apr 89 20:53:36 GMT Reply-To: frank@ladcgw.UUCP (Frank Mayhar) Organization: Bull HN Los Angeles Development Center Lines: 36 A colleague has discovered the following bug in the indent source that was posted recently. Given the following input: void main(void) { if (c == 0) /* this is a test */ { putc(c, c); /* it is only a test */ } exit; } And the following .indent.pro file: -br -c35 -l78 -i4 -bap -ncdb -nfc1 -nsc -ci3 -d0 -di4 -lp -nsob -nce Indent produces: void main(void) { if (c == 0) { /* this is a test */ putc(c, c); /* it is only a test */ } exit; } That is, the first comment no longer lines up with the second. Has anyone else seen this problem, and, if so, do you have a fix? Please reply directly to me, as I'm posting this for a friend, and I don't read comp.os.minix myself. Thanks in advance! -- Frank Mayhar ..!uunet!ladcgw!frank (soon to be frank@ladc.bull.com) Frank-Mayhar%ladc@bco-multics.hbi.honeywell.com (until June 1) Bull HN Los Angeles Development Center 5250 W. Century Blvd., LA, CA 90045 Phone: (213) 216-6241