[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-cvs
Subject:    [binutils-gdb] gdb: Remove an unbalanced stray double quote from a comment
From:       Andrew Burgess <aburgess () sourceware ! org>
Date:       2019-04-30 12:08:23
Message-ID: 20190430120823.77490.qmail () sourceware ! org
[Download RAW message or body]

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6fdcd7cc87a5e345a1c09fcf898012d80eb43ee1

commit 6fdcd7cc87a5e345a1c09fcf898012d80eb43ee1
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date:   Sat Mar 30 17:14:23 2019 +0000

    gdb: Remove an unbalanced stray double quote from a comment
    
    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.

Diff:
---
 gdb/ChangeLog        | 5 +++++
 gdb/std-operator.def | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b2e6f25..15568b7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2019-04-30  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+	* std-operator.def: Remove unbalanced, stray double quote
+	character.
+
 2019-04-29  Andrew Burgess  <andrew.burgess@embecosm.com>
 	    Chris January  <chris.january@arm.com>
 	    Daniel Everett  <daniel.everett@arm.com>
diff --git a/gdb/std-operator.def b/gdb/std-operator.def
index e26861b..001ae61 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:
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic