Date: Sun, 15 Mar 1998 06:37:02 -0800 (PST) From: schweikh@noc.dfn.de To: freebsd-gnats-submit@FreeBSD.ORG Subject: bin/6015: indent(1) breaks source with backslash newline continuation Message-ID: <199803151437.GAA20672@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 6015
>Category: bin
>Synopsis: indent(1) breaks source with backslash newline continuation
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 15 06:40:01 PST 1998
>Last-Modified:
>Originator: Jens Schweikhardt
>Organization:
DFN NOC
>Release: 2.2.5-RELEASE FreeBSD
>Environment:
>Description:
FreeBSD's indent(1) breaks programs with line continuation in keywords or
identifiers. It insert a space before the backslash and indents the next
continuation line. The result is uncompilable. No indentation should
break code... "It looks beautiful to my eyes, but will it compile?" :-)
>How-To-Repeat:
2.2.5-RELEASE FreeBSD
$ cat tst.c
int main (void) { re\
turn 0; }
$ indent tst.c
$ cat tst.c
int
main(void)
{
re \
turn 0;
}
>Fix:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803151437.GAA20672>
