From patchwork Tue Apr 2 23:58:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Burgess X-Patchwork-Id: 32125 Received: (qmail 80762 invoked by alias); 2 Apr 2019 23:58:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 80703 invoked by uid 89); 2 Apr 2019 23:58:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=productions X-HELO: mail-wr1-f50.google.com Received: from mail-wr1-f50.google.com (HELO mail-wr1-f50.google.com) (209.85.221.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 02 Apr 2019 23:58:50 +0000 Received: by mail-wr1-f50.google.com with SMTP id k17so18797764wrx.10 for ; Tue, 02 Apr 2019 16:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=cuK3ewYXh6DM46DqBn3H5XCY6El5zCERK30asF5OCzA=; b=Hs5zSw7vOKb8+Kgg8X/7XytjXofc5H3IIUG14XCosUuGSTdFICnuRNqfCj1GZCMyHP WSyHxKSsdp5fvrddkT8sOMuS9W2WZ5ryultH7Uzyj/HOEZrXqVDZ8GTEx3LfszZPvly8 tHa+I0HFD6d4lLC3R3P88pYmsD8x31r50Agn3YLjODjR5bxFghz4WQX24mBtzsyd34Mu qtfNNY5KLTfOomlIJJXWz7Nwi2DrR0XfzvQwTDUgTD6lqo4BQOUm9b3l23iVnfuQhRPn irKPnUnRgE1pjkF7PRXx5LP1latoxIvvp1qc7rEsKZ/5NwgGD5IEXed7/QUI4pWDnSig 3UBw== Return-Path: Received: from localhost (host81-151-161-58.range81-151.btcentralplus.com. [81.151.161.58]) by smtp.gmail.com with ESMTPSA id w9sm32146353wmi.0.2019.04.02.16.58.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Apr 2019 16:58:47 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Richard Bunt , Andrew Burgess Subject: [PATCHv2 1/8] gdb: Remove an unbalanced stray double quote from a comment Date: Wed, 3 Apr 2019 00:58:35 +0100 Message-Id: In-Reply-To: References: In-Reply-To: References: X-IsSubscribed: yes What appears to be a stray double quote character in std-operator.def causes incorrect highlighting in my editor. The quote was introduced in this commit: commit 858be34c5a03bb8973679ebf00d360182434dc00 Date: Mon Sep 4 20:21:15 2017 +0100 Handle "p S::method()::static_var" in the C++ parser I can't see any reason why the quote should be there, so this commit removes it. gdb/ChangeLog: * std-operator.def: Remove unbalanced, stray double quote character. --- gdb/ChangeLog | 5 +++++ gdb/std-operator.def | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/std-operator.def b/gdb/std-operator.def index e26861bd131..001ae61e481 100644 --- a/gdb/std-operator.def +++ b/gdb/std-operator.def @@ -300,7 +300,7 @@ OP (OP_SCOPE) p 'S:method() const'::var then the C-specific handling directly in the parser takes over (see - "block/variable productions). + block/variable productions). Also, if the whole function+var is quoted like this: