From owner-freebsd-bugs Sun Mar 15 06:40:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA20957 for freebsd-bugs-outgoing; Sun, 15 Mar 1998 06:40:05 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA20949; Sun, 15 Mar 1998 06:40:02 -0800 (PST) (envelope-from gnats) Received: (from nobody@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA20672; Sun, 15 Mar 1998 06:37:02 -0800 (PST) (envelope-from nobody) Message-Id: <199803151437.GAA20672@hub.freebsd.org> Date: Sun, 15 Mar 1998 06:37:02 -0800 (PST) From: schweikh@noc.dfn.de To: freebsd-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: www-1.0 Subject: bin/6015: indent(1) breaks source with backslash newline continuation Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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