[4/4] Redefine FUNCTION in doc.str

Message ID 20230217192905.3160819-5-tom@tromey.com
State Accepted
Headers
Series More fixes to chew documentation |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

Tom Tromey Feb. 17, 2023, 7:29 p.m. UTC
  FUNCTION is identical to func, so simplify doc.str.

2023-02-17  Tom Tromey  <tom@tromey.com>

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

Patch

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