[binutils-gdb] Redefine FUNCTION in doc.str

Tom Tromey tromey@sourceware.org
Mon Feb 20 21:36:06 GMT 2023


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

commit dbe7ee1a87104796801ae5c8da5a1daa438e1cc7
Author: Tom Tromey <tom@tromey.com>
Date:   Fri Feb 17 12:12:11 2023 -0700

    Redefine FUNCTION in doc.str
    
    FUNCTION is identical to func, so simplify doc.str.
    
    2023-02-17  Tom Tromey  <tom@tromey.com>
    
            * doc/doc.str (FUNCTION): Call func.

Diff:
---
 bfd/ChangeLog   |  4 ++++
 bfd/doc/doc.str | 10 +---------
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index fac38b8e4fa..357b9b588e4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2023-02-17  Tom Tromey  <tom@tromey.com>
+
+	* doc/doc.str (FUNCTION): Call func.
+
 2023-02-17  Tom Tromey  <tom@tromey.com>
 
 	* opncls.c: Hoist the SECTION comment.
diff --git a/bfd/doc/doc.str b/bfd/doc/doc.str
index 5077ada9812..f59ff2edd6e 100644
--- a/bfd/doc/doc.str
+++ b/bfd/doc/doc.str
@@ -74,15 +74,7 @@ variable synopsis_seen
 	;
 
 : FUNCTION
-	"@findex "	- a
-	skip_past_newline
-	copy_past_newline
-	dup		- a x x 
-	"@subsubsection @code{" - a x x b 
-	swap
-	remchar
-	"}\n" - a x b x c
-	catstr 	catstr 	catstr 	catstr 	catstr 
+	func
 	;
 
 : bodytext


More information about the Binutils-cvs mailing list