From 6fdcd7cc87a5e345a1c09fcf898012d80eb43ee1 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Sat, 30 Mar 2019 17:14:23 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/std-operator.def | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2e6f251c66..15568b7b1a6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-04-30 Andrew Burgess + + * std-operator.def: Remove unbalanced, stray double quote + character. + 2019-04-29 Andrew Burgess Chris January Daniel Everett 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: -- 2.30.2