This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCHv2 1/8] gdb: Remove an unbalanced stray double quote from a comment
- From: Andrew Burgess <andrew dot burgess at embecosm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Richard Bunt <Richard dot Bunt at arm dot com>, Andrew Burgess <andrew dot burgess at embecosm dot com>
- Date: Wed, 3 Apr 2019 00:58:35 +0100
- Subject: [PATCHv2 1/8] gdb: Remove an unbalanced stray double quote from a comment
- References: <cover.1554249182.git.andrew.burgess@embecosm.com>
- References: <cover.1552913183.git.andrew.burgess@embecosm.com> <cover.1554249182.git.andrew.burgess@embecosm.com>
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:
--
2.14.5