public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] Redefine FUNCTION in doc.str
@ 2023-02-20 21:36 Tom Tromey
  0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2023-02-20 21:36 UTC (permalink / raw)
  To: bfd-cvs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-20 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-20 21:36 [binutils-gdb] Redefine FUNCTION in doc.str Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).