1 - Documentation extraction program for chew.
2 - Copyright (C) 1990-2023 Free Software Foundation, Inc.
3 - This file is part of BFD, the Binary File Descriptor library.
5 - This program is free software; you can redistribute it and/or modify
6 - it under the terms of the GNU General Public License as published by
7 - the Free Software Foundation; either version 3 of the License, or
8 - (at your option) any later version.
10 - This program is distributed in the hope that it will be useful,
11 - but WITHOUT ANY WARRANTY; without even the implied warranty of
12 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 - GNU General Public License for more details.
15 - You should have received a copy of the GNU General Public License
16 - along with this program; if not, write to the Free Software
17 - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19 - chew.c keywords defined here put output into doc/*.texi files
20 - from comments in the source. See also proto.str.
22 - True if SYNOPSIS was seen.
23 variable synopsis_seen
27 get_stuff_in_command kill_bogus_lines catstr
36 get_stuff_in_command kill_bogus_lines do_fancy_stuff translatecomments
41 "@node " catstr skip_past_newline copy_past_newline catstr
57 "@deftypefn {Function} " catstr
71 "@subsubsection @code{" - a x x b
75 catstr catstr catstr catstr catstr
97 "@section " asection ;
100 "@subsection " asection ;
103 "@subsubsection " asection ;
112 "@end deftypefn\n" synopsis_seen @ catstrif
125 : INTERNAL_DEFINITION
136 "Here are the possible values for @code{enum "
137 copy_past_newline remchar catstr
138 "}:\n\n" catstr catstr
143 copy_past_newline catstr catstr
148 copy_past_newline catstr
154 copy_past_newline catstr catstr
160 copy_past_newline catstr
167 strip_trailing_newlines
169 "\n@end deffn\n" catstr