From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A955E3858D1E; Thu, 22 Dec 2022 04:41:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A955E3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671684072; bh=hKcV+6IfRFCBELpqurFxUhQTHh9lGu+ppf9qRfCaGmw=; h=From:To:Subject:Date:From; b=msTcBwj52ZTi96xB5oJOe30kvTNzY0ha1aWhFLvmb2hkgnqc3z0FiPxP7EMCXOj07 eGk5VrMDVptjj0+jpWG8LPE6LUCaqa7VjK92QOQEQCp5W8GpJsoh4YOF1sw4yBTzH/ kqwrvb8XRW1bbqj9vmHJOK6oSufdg2hUcfaOMRkY= From: "development at efficientek dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/29931] New: Comments should not respect line continuation Date: Thu, 22 Dec 2022 04:41:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: development at efficientek dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29931 Bug ID: 29931 Summary: Comments should not respect line continuation Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: development at efficientek dot com Target Milestone: --- The following script does nothing (in 12.1), but I think most end-users wou= ld find this unexpected (as do I). # =3D=3D=3D begin =3D=3D=3D # with set width 0 -- \ printf "This does not execute" # =3D=3D=3D end =3D=3D=3D Its expected that nothing in the line of a comment can affect the running of the script. Respecting line continuations violates this. This is unlike bas= h, sh, and python scripts, which also use '#' as comments and which do not res= pect line continuations in comments. --=20 You are receiving this mail because: You are on the CC list for the bug.=