⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makeinfo.c

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 C
📖 第 1 页 / 共 5 页
字号:
void usage ();void push_node_filename (), pop_node_filename ();void remember_error (), flush_file_stack ();void convert_from_stream (), convert_from_file (), convert_from_loaded_file ();void init_internals (), init_paragraph (), init_brace_stack ();void init_insertion_stack (), init_indices ();void init_tag_table (), write_tag_table (), write_tag_table_internal ();void validate_file (), validate_other_references (), split_file ();void free_node_references (), do_enumeration (), handle_variable ();void handle_variable_internal ();void normalize_node_name ();void undefindex (), top_defindex (), gen_defindex ();void define_user_command ();void free_pending_notes (), output_pending_notes ();char **get_brace_args ();char *expansion ();int array_len ();void free_array ();static int end_of_sentence_p ();static void isolate_nodename ();void reader_loop (), read_command ();void remember_brace (), remember_brace_1 ();void pop_and_call_brace (), discard_braces ();void add_word (), add_char (), insert (), flush_output ();void insert_string ();void close_paragraph_with_lines (), close_paragraph ();void ignore_blank_line ();void do_flush_right_indentation (), discard_insertions ();void start_paragraph (), indent ();#if defined (VA_FPRINTF) && __STDC__/* Unfortunately we must use prototypes if we are to use <stdarg.h>.  */void add_word_args (char *, ...);void execute_string (char *, ...);#elsevoid add_word_args ();void execute_string ();#endif /* will not use prototypes */void insert_self (), insert_space (), cm_ignore_line ();void  cm_TeX (), cm_asterisk (), cm_bullet (), cm_cite (),  cm_code (), cm_copyright (), cm_ctrl (), cm_dfn (), cm_dircategory (),  cm_direntry (), cm_dots (), cm_emph (), cm_enddots (),  cm_kbd (), cm_key (), cm_no_op (), cm_no_op_line_arg (),  cm_not_fixed_width (), cm_strong (), cm_var_sc (), cm_w (), cm_image ();/* Sectioning.  */void  cm_chapter (), cm_unnumbered (), cm_appendix (), cm_top (),  cm_section (), cm_unnumberedsec (), cm_appendixsec (),  cm_subsection (), cm_unnumberedsubsec (), cm_appendixsubsec (),  cm_subsubsection (), cm_unnumberedsubsubsec (), cm_appendixsubsubsec (),  cm_heading (), cm_chapheading (), cm_subheading (), cm_subsubheading (),  cm_majorheading (), cm_raisesections (), cm_lowersections ();/* All @def... commands map to cm_defun, most accent commands map to   cm_accent, most non-English letters map to cm_special_char.  */void cm_defun (), cm_accent (), cm_special_char (), cm_dotless ();void  cm_node (), cm_menu (), cm_xref (), cm_ftable (), cm_vtable (), cm_pxref (),  cm_inforef (), cm_uref (), cm_email (), cm_quotation (),  cm_display (), cm_itemize (),  cm_enumerate (), cm_tab (), cm_table (), cm_itemx (), cm_noindent (),  cm_setfilename (), cm_br (), cm_sp (), cm_page (), cm_group (),  cm_center (), cm_include (), cm_bye (), cm_item (), cm_end (),  cm_ifinfo (), cm_ifnothtml (), cm_ifnottex (), cm_kindex (), cm_cindex (),  cm_findex (), cm_pindex (), cm_vindex (), cm_tindex (),  cm_synindex (), cm_printindex (), cm_minus (), cm_footnote (),  cm_example (), cm_smallexample (), cm_lisp (), cm_format (), cm_exdent (),  cm_defindex (), cm_defcodeindex (), cm_result (), cm_expansion (),  cm_equiv (), cm_print (), cm_error (), cm_point (), cm_today (),  cm_flushleft (), cm_flushright (), cm_smalllisp (), cm_finalout (),  cm_cartouche (), cm_detailmenu (), cm_multitable ();/* Conditionals. */void cm_set (), cm_clear (), cm_ifset (), cm_ifclear ();void cm_value (), cm_ifeq ();#if defined (HAVE_MACROS)/* Define a user-defined command which is simple substitution. */void cm_macro (), cm_unmacro ();#endif /* HAVE_MACROS *//* Options. */void cm_paragraphindent (), cm_footnotestyle ();/* Internals. */void command_name_condition (), misplaced_brace (), cm_obsolete (),     cm_ideprecated ();typedef struct{  char *name;  COMMAND_FUNCTION *proc;  int argument_in_braces;} COMMAND;/* Stuff for defining commands on the fly. */COMMAND **user_command_array = (COMMAND **) NULL;int user_command_array_len = 0;#define NO_BRACE_ARGS 0#define BRACE_ARGS 1static COMMAND command_table[] = {  { "\t", insert_space, NO_BRACE_ARGS },  { "\n", insert_space, NO_BRACE_ARGS },  { " ", insert_self, NO_BRACE_ARGS },  { "!", insert_self, NO_BRACE_ARGS },  { "\"", insert_self, NO_BRACE_ARGS },  { "'", insert_self, NO_BRACE_ARGS },  { "*", cm_asterisk, NO_BRACE_ARGS },  { ",", cm_accent, BRACE_ARGS },  { "-", cm_no_op, NO_BRACE_ARGS },  { ".", insert_self, NO_BRACE_ARGS },  { ":", cm_no_op, NO_BRACE_ARGS },  { "=", insert_self, NO_BRACE_ARGS },  { "?", insert_self, NO_BRACE_ARGS },  { "@", insert_self, NO_BRACE_ARGS },  { "^", insert_self, NO_BRACE_ARGS },  { "`", insert_self, NO_BRACE_ARGS },  { "{", insert_self, NO_BRACE_ARGS },  { "|", cm_no_op, NO_BRACE_ARGS },  { "}", insert_self, NO_BRACE_ARGS },  { "~", insert_self, NO_BRACE_ARGS },  { "AA", insert_self, BRACE_ARGS },  { "AE", insert_self, BRACE_ARGS },  { "H", cm_accent, BRACE_ARGS },  { "L", cm_special_char, BRACE_ARGS },  { "O", cm_special_char, BRACE_ARGS },  { "OE", insert_self, BRACE_ARGS },  { "TeX", cm_TeX, BRACE_ARGS },  { "aa", insert_self, BRACE_ARGS },  { "ae", insert_self, BRACE_ARGS },  { "appendix", cm_appendix, NO_BRACE_ARGS },  { "appendixsection", cm_appendixsec, NO_BRACE_ARGS },  { "appendixsec", cm_appendixsec, NO_BRACE_ARGS },  { "appendixsubsec", cm_appendixsubsec, NO_BRACE_ARGS },  { "appendixsubsubsec", cm_appendixsubsubsec, NO_BRACE_ARGS },  { "asis", cm_no_op, BRACE_ARGS },  { "b", cm_not_fixed_width, BRACE_ARGS },  { "bullet", cm_bullet, BRACE_ARGS },  { "bye", cm_bye, NO_BRACE_ARGS },  { "c", cm_ignore_line, NO_BRACE_ARGS },  { "cartouche", cm_cartouche, NO_BRACE_ARGS },  { "center", cm_center, NO_BRACE_ARGS },  { "centerchap", cm_unnumbered, NO_BRACE_ARGS },  { "chapheading", cm_chapheading, NO_BRACE_ARGS },  { "chapter", cm_chapter, NO_BRACE_ARGS },  { "cindex", cm_cindex, NO_BRACE_ARGS },  { "cite", cm_cite, BRACE_ARGS },  { "clear", cm_clear, NO_BRACE_ARGS },  { "code", cm_code, BRACE_ARGS },  { "comment", cm_ignore_line, NO_BRACE_ARGS },  { "contents", cm_no_op, NO_BRACE_ARGS },  { "copyright", cm_copyright, BRACE_ARGS },  { "ctrl", cm_obsolete, BRACE_ARGS },  { "defcodeindex", cm_defcodeindex, NO_BRACE_ARGS },  { "defindex", cm_defindex, NO_BRACE_ARGS },/* The `def' commands. */  { "defcv", cm_defun, NO_BRACE_ARGS },  { "defcvx", cm_defun, NO_BRACE_ARGS },  { "deffn", cm_defun, NO_BRACE_ARGS },  { "deffnx", cm_defun, NO_BRACE_ARGS },  { "defivar", cm_defun, NO_BRACE_ARGS },  { "defivarx", cm_defun, NO_BRACE_ARGS },  { "defmac", cm_defun, NO_BRACE_ARGS },  { "defmacx", cm_defun, NO_BRACE_ARGS },  { "defmethod", cm_defun, NO_BRACE_ARGS },  { "defmethodx", cm_defun, NO_BRACE_ARGS },  { "defop", cm_defun, NO_BRACE_ARGS },  { "defopt", cm_defun, NO_BRACE_ARGS },  { "defoptx", cm_defun, NO_BRACE_ARGS },  { "defopx", cm_defun, NO_BRACE_ARGS },  { "defspec", cm_defun, NO_BRACE_ARGS },  { "defspecx", cm_defun, NO_BRACE_ARGS },  { "deftp", cm_defun, NO_BRACE_ARGS },  { "deftpx", cm_defun, NO_BRACE_ARGS },  { "deftypefn", cm_defun, NO_BRACE_ARGS },  { "deftypefnx", cm_defun, NO_BRACE_ARGS },  { "deftypefun", cm_defun, NO_BRACE_ARGS },  { "deftypefunx", cm_defun, NO_BRACE_ARGS },  { "deftypemethod", cm_defun, NO_BRACE_ARGS },  { "deftypemethodx", cm_defun, NO_BRACE_ARGS },  { "deftypevar", cm_defun, NO_BRACE_ARGS },  { "deftypevarx", cm_defun, NO_BRACE_ARGS },  { "deftypevr", cm_defun, NO_BRACE_ARGS },  { "deftypevrx", cm_defun, NO_BRACE_ARGS },  { "defun", cm_defun, NO_BRACE_ARGS },  { "defunx", cm_defun, NO_BRACE_ARGS },  { "defvar", cm_defun, NO_BRACE_ARGS },  { "defvarx", cm_defun, NO_BRACE_ARGS },  { "defvr", cm_defun, NO_BRACE_ARGS },  { "defvrx", cm_defun, NO_BRACE_ARGS },/* The end of the `def' commands. */  { "detailmenu", cm_detailmenu, NO_BRACE_ARGS },  { "dfn", cm_dfn, BRACE_ARGS },  { "dircategory", cm_dircategory, NO_BRACE_ARGS },  { "direntry", cm_direntry, NO_BRACE_ARGS },  { "display", cm_display, NO_BRACE_ARGS },  { "dmn", cm_no_op, BRACE_ARGS },  { "dotaccent", cm_accent, BRACE_ARGS },  { "dotless", cm_dotless, BRACE_ARGS },  { "dots", cm_dots, BRACE_ARGS },  { "email", cm_email, BRACE_ARGS },  { "emph", cm_emph, BRACE_ARGS },  { "end", cm_end, NO_BRACE_ARGS },  { "enddots", cm_enddots, BRACE_ARGS },  { "enumerate", cm_enumerate, NO_BRACE_ARGS },  { "equiv", cm_equiv, BRACE_ARGS },  { "error", cm_error, BRACE_ARGS },  { "example", cm_example, NO_BRACE_ARGS },  { "exclamdown", cm_special_char, BRACE_ARGS },  { "exdent", cm_exdent, NO_BRACE_ARGS },  { "expansion", cm_expansion, BRACE_ARGS },  { "file", cm_code, BRACE_ARGS },  { "finalout", cm_no_op, NO_BRACE_ARGS },  { "findex", cm_findex, NO_BRACE_ARGS },  { "flushleft", cm_flushleft, NO_BRACE_ARGS },  { "flushright", cm_flushright, NO_BRACE_ARGS },  { "footnote", cm_footnote, NO_BRACE_ARGS}, /* self-arg eater */  { "footnotestyle", cm_footnotestyle, NO_BRACE_ARGS },  { "format", cm_format, NO_BRACE_ARGS },  { "ftable", cm_ftable, NO_BRACE_ARGS },  { "group", cm_group, NO_BRACE_ARGS },  { "heading", cm_heading, NO_BRACE_ARGS },  { "headings", cm_ignore_line, NO_BRACE_ARGS },  { "html", command_name_condition, NO_BRACE_ARGS },  { "hyphenation", cm_no_op, BRACE_ARGS },  { "i", cm_not_fixed_width, BRACE_ARGS },  { "ifclear", cm_ifclear, NO_BRACE_ARGS },  { "ifeq", cm_ifeq, NO_BRACE_ARGS },  { "ifhtml", command_name_condition, NO_BRACE_ARGS },  { "ifinfo", cm_ifinfo, NO_BRACE_ARGS },  { "ifnothtml", cm_ifnothtml, NO_BRACE_ARGS },  { "ifnotinfo", command_name_condition, NO_BRACE_ARGS },  { "ifnottex", cm_ifnottex, NO_BRACE_ARGS },  { "ifset", cm_ifset, NO_BRACE_ARGS },  { "iftex", command_name_condition, NO_BRACE_ARGS },  { "ignore", command_name_condition, NO_BRACE_ARGS },  { "image", cm_image, BRACE_ARGS },  { "include", cm_include, NO_BRACE_ARGS },  { "inforef", cm_inforef, BRACE_ARGS },  { "item", cm_item, NO_BRACE_ARGS },  { "itemize", cm_itemize, NO_BRACE_ARGS },  { "itemx", cm_itemx, NO_BRACE_ARGS },  { "kbd", cm_kbd, BRACE_ARGS },  { "kbdinputstyle", cm_no_op_line_arg, NO_BRACE_ARGS },  { "key", cm_key, BRACE_ARGS },  { "kindex", cm_kindex, NO_BRACE_ARGS },  { "l", cm_special_char, BRACE_ARGS },  { "lisp", cm_lisp, NO_BRACE_ARGS },  { "lowersections", cm_lowersections, NO_BRACE_ARGS },  { "macro", cm_macro, NO_BRACE_ARGS },  { "majorheading", cm_majorheading, NO_BRACE_ARGS },  { "math", cm_no_op, BRACE_ARGS },  { "menu", cm_menu, NO_BRACE_ARGS },  { "minus", cm_minus, BRACE_ARGS },  { "multitable", cm_multitable, NO_BRACE_ARGS },  { "need", cm_ignore_line, NO_BRACE_ARGS },  { "node", cm_node, NO_BRACE_ARGS },  { "noindent", cm_noindent, NO_BRACE_ARGS },  { "nwnode", cm_node, NO_BRACE_ARGS },  { "o", cm_special_char, BRACE_ARGS },  { "oe", insert_self, BRACE_ARGS },  { "page", cm_no_op, NO_BRACE_ARGS },  { "paragraphindent", cm_paragraphindent, NO_BRACE_ARGS },  { "pindex", cm_pindex, NO_BRACE_ARGS },  { "point", cm_point, BRACE_ARGS },  { "pounds", cm_special_char, BRACE_ARGS },  { "print", cm_print, BRACE_ARGS },  { "printindex", cm_printindex, NO_BRACE_ARGS },  { "pxref", cm_pxref, BRACE_ARGS },  { "questiondown", cm_special_char, BRACE_ARGS },  { "quotation", cm_quotation, NO_BRACE_ARGS },  { "r", cm_not_fixed_width, BRACE_ARGS },  { "raisesections", cm_raisesections, NO_BRACE_ARGS },  { "ref", cm_xref, BRACE_ARGS },  { "refill", cm_no_op, NO_BRACE_ARGS },  { "result", cm_result, BRACE_ARGS },  { "ringaccent", cm_accent, BRACE_ARGS },  { "samp", cm_code, BRACE_ARGS },  { "sc", cm_var_sc, BRACE_ARGS },  { "section", cm_section, NO_BRACE_ARGS },  { "set", cm_set, NO_BRACE_ARGS },  { "setchapternewpage", cm_ignore_line, NO_BRACE_ARGS },  { "setchapterstyle", cm_obsolete, NO_BRACE_ARGS },  { "setfilename", cm_setfilename, NO_BRACE_ARGS },  { "settitle", cm_ignore_line, NO_BRACE_ARGS },  { "shortcontents", cm_no_op, NO_BRACE_ARGS },  { "shorttitlepage", cm_ignore_line, NO_BRACE_ARGS },  { "smallbook", cm_ignore_line, NO_BRACE_ARGS },  { "smallexample", cm_smallexample, NO_BRACE_ARGS },  { "smalllisp", cm_smalllisp, NO_BRACE_ARGS },  { "sp", cm_sp, NO_BRACE_ARGS },  { "ss", insert_self, BRACE_ARGS },  { "strong", cm_strong, BRACE_ARGS },  { "subheading", cm_subheading, NO_BRACE_ARGS },  { "subsection", cm_subsection, NO_BRACE_ARGS },  { "subsubheading", cm_subsubheading, NO_BRACE_ARGS },  { "subsubsection", cm_subsubsection, NO_BRACE_ARGS },  { "summarycontents", cm_no_op, NO_BRACE_ARGS },  { "syncodeindex", cm_synindex, NO_BRACE_ARGS },  { "synindex", cm_synindex, NO_BRACE_ARGS },  { "t", cm_no_op, BRACE_ARGS },  { "tab", cm_tab, NO_BRACE_ARGS },  { "table", cm_table, NO_BRACE_ARGS },  { "tex", command_name_condition, NO_BRACE_ARGS },  { "tieaccent", cm_accent, BRACE_ARGS },  { "tindex", cm_tindex, NO_BRACE_ARGS },  { "titlefont", cm_not_fixed_width, BRACE_ARGS },  { "titlepage", command_name_condition, NO_BRACE_ARGS },  { "today", cm_today, BRACE_ARGS },  { "top", cm_top, NO_BRACE_ARGS  },  { "u", cm_accent, BRACE_ARGS },  { "ubaraccent", cm_accent, BRACE_ARGS },  { "udotaccent", cm_accent, BRACE_ARGS },#if defined (HAVE_MACROS)  { "unmacro", cm_unmacro, NO_BRACE_ARGS },#endif  { "unnumbered", cm_unnumbered, NO_BRACE_ARGS },  { "unnumberedsec", cm_unnumberedsec, NO_BRACE_ARGS },  { "unnumberedsubsec", cm_unnumberedsubsec, NO_BRACE_ARGS },  { "unnumberedsubsubsec", cm_unnumberedsubsubsec, NO_BRACE_ARGS },  { "uref", cm_uref, BRACE_ARGS },  { "url", cm_code, BRACE_ARGS },  { "v", cm_accent, BRACE_ARGS },  { "value", cm_value, BRACE_ARGS },  { "var", cm_var_sc, BRACE_ARGS },  { "vindex", cm_vindex, NO_BRACE_ARGS },  { "vtable", cm_vtable, NO_BRACE_ARGS },  { "w", cm_w, BRACE_ARGS },  { "xref", cm_xref, BRACE_ARGS },  /* Deprecated commands.  These used to be for italics.  */  { "iappendix", cm_ideprecated, NO_BRACE_ARGS },  { "iappendixsec", cm_ideprecated, NO_BRACE_ARGS },  { "iappendixsection", cm_ideprecated, NO_BRACE_ARGS },  { "iappendixsubsec", cm_ideprecated, NO_BRACE_ARGS },  { "iappendixsubsubsec", cm_ideprecated, NO_BRACE_ARGS },  { "ichapter", cm_ideprecated, NO_BRACE_ARGS },  { "isection", cm_ideprecated, NO_BRACE_ARGS },  { "isubsection", cm_ideprecated, NO_BRACE_ARGS },  { "isubsubsection", cm_ideprecated, NO_BRACE_ARGS },  { "iunnumbered", cm_ideprecated, NO_BRACE_ARGS },  { "iunnumberedsec", cm_ideprecated, NO_BRACE_ARGS },  { "iunnumberedsubsec", cm_ideprecated, NO_BRACE_ARGS },  { "iunnumberedsubsubsec", cm_ideprecated, NO_BRACE_ARGS },  /* Now @include does what this was used to. */  { "infoinclude", cm_obsolete, NO_BRACE_ARGS },  { "titlespec", cm_obsolete, NO_BRACE_ARGS },  { NULL, NULL, NO_BRACE_ARGS }};struct option long_options[] ={  { "error-limit", 1, 0, 'e' },                 /* formerly -el */  { "fill-column", 1, 0, 'f' },                 /* formerly -fc */  { "footnote-style", 1, 0, 's' },              /* formerly -ft */  { "force", 0, 0, 'F' },                       /* do not remove output */  { "no-headers", 0, &no_headers, 1 },          /* do not output Node: foo */  { "no-pointer-validate", 0, &validating, 0 }, /* formerly -nv */  { "no-validate", 0, &validating, 0 },         /* formerly -nv */  { "no-split", 0, &splitting, 0 },             /* formerly -ns */  { "no-warn", 0, &print_warnings, 0 },         /* formerly -nw */  { "macro-expand", 1, 0, 'E' },  { "number-footnotes", 0, &number_footnotes, 1 },  { "no-number-footnotes", 0, &number_footnotes, 0 },  { "output", 1, 0, 'o' },  { "paragraph-indent", 1, 0, 'p' },            /* formerly -pi */  { "reference-limit", 1, 0, 'r' },             /* formerly -rl */  { "verbose", 0, &verbose_mode, 1 },           /* formerly -verbose */  { "help", 0, 0, 'h' },  { "version", 0, 0, 'V' },  {NULL, 0, NULL, 0}};/* **************************************************************** *//*                                                                  *//*                      Error Handling                              *//*                                                                  *//* **************************************************************** *//* Number of errors encountered. */int errors_printed = 0;/* Print the last error gotten from the file system. */intfs_error (filename)     char *filename;{  remember_error ();  perror (filename);  return (0);}/* Print an error message, and return false. */void#if defined (VA_FPRINTF) && __STDC__error (char *format, ...)#elseerror (format, va_alist)     char *format;     va_dcl#endif{#ifdef VA_FPRINTF  va_list ap;#endif  remember_error ();  VA_START (ap, format);#ifdef VA_FPRINTF  VA_FPRINTF (stderr, format, ap);#else

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -