diff -ur global-6.5-old/global/convert.c global-7.7-new/global/convert.c
--- global-6.5-old/global/convert.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/global/convert.c 2015-06-15 18:59:26.000000000 +0100
@@ -230,7 +230,9 @@
die("invalid regular expression. '%s'", strbuf_value(sb));
}
/**
- * set_print0: change newline to @CODE{'\0'}.
+ * @fn void set_print0(void)
+ *
+ * set_print0: change newline to '\0'.
*/
static int newline = '\n';
void
@@ -239,7 +241,7 @@
newline = '\0';
}
/**
- * Path filter for the output of @XREF{global,1}.
+ * Path filter for the output of global(1).
* The path name starts with "./" which is the project root directory.
*/
static const char *
@@ -337,13 +339,13 @@
/**
* convert_open: open convert filter
*
- * @param[in] type #PATH_ABSOLUTE, #PATH_RELATIVE, #PATH_THROUGH
+ * @param[in] type PATH_ABSOLUTE, PATH_RELATIVE, PATH_THROUGH
* @param[in] format tag record format
* @param[in] root root directory of source tree
* @param[in] cwd current directory
* @param[in] dbpath dbpath directory
* @param[in] op output file
- * @param[in] db tag type (#GTAGS, #GRTAGS, #GSYMS, #GPATH, #NOTAGS)
+ * @param[in] db tag type (GTAGS, GRTAGS, GSYMS, GPATH, NOTAGS)
*/
CONVERT *
convert_open(int type, int format, const char *root, const char *cwd, const char *dbpath, FILE *op, int db)
@@ -385,10 +387,10 @@
/**
* convert_put: convert path into relative or absolute and print.
*
- * @param[in] cv #CONVERT structure
- * @param[in] ctags_x tag record (@NAME{ctags-x} format)
+ * @param[in] cv CONVERT structure
+ * @param[in] ctags_x tag record (ctags-x format)
*
- * @note This function is only called by @NAME{global} with the @OPTION{--path} option.
+ * @note This function is only called by global with the --path option.
*/
void
convert_put(CONVERT *cv, const char *ctags_x)
@@ -514,9 +516,9 @@
(void)fputc(newline, cv->op);
}
/**
- * convert_put_path: convert @a path into relative or absolute and print.
+ * convert_put_path: convert path into relative or absolute and print.
*
- * @param[in] cv #CONVERT structure
+ * @param[in] cv CONVERT structure
* @param[in] pattern pattern
* @param[in] path path name
*/
@@ -531,14 +533,14 @@
(void)fputc(newline, cv->op);
}
/**
- * convert_put_using: convert @a path into relative or absolute and print.
+ * convert_put_using: convert path into relative or absolute and print.
*
- * @param[in] cv #CONVERT structure
+ * @param[in] cv CONVERT structure
* @param[in] tag tag name
* @param[in] path path name
* @param[in] lineno line number
* @param[in] rest line image
- * @param[in] fid file id (only when @CODE{fid != NULL})
+ * @param[in] fid file id (only when fid != NULL)
*/
void
convert_put_using(CONVERT *cv, const char *tag, const char *path, int lineno, const char *rest, const char *fid)
diff -ur global-6.5-old/global/convert.h global-7.7-new/global/convert.h
--- global-6.5-old/global/convert.h 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/global/convert.h 2015-06-15 18:51:56.000000000 +0100
@@ -25,12 +25,12 @@
typedef struct {
FILE *op;
- int type; /**< #PATH_ABSOLUTE, #PATH_RELATIVE */
- int format; /**< defined in @FILE{format.h} */
+ int type; /**< PATH_ABSOLUTE, PATH_RELATIVE */
+ int format; /**< defined in "format.h" */
STRBUF *abspath;
char basedir[MAXPATHLEN];
int start_point;
- int db; /**< for @NAME{gtags-cscope} */
+ int db; /**< for gtags-cscope */
char *tag_for_display;
} CONVERT;
diff -ur global-6.5-old/global/global.c global-7.7-new/global/global.c
--- global-6.5-old/global/global.c 2015-06-19 18:54:39.000000000 +0100
+++ global-7.7-new/global/global.c 2015-06-19 19:12:43.000000000 +0100
@@ -78,7 +78,7 @@
/**
* @file global.c
- * @NAME{global} - print locations of the specified object.
+ * global - print locations of the specified object.
*/
static void usage(void);
static void help(void);
@@ -130,7 +130,7 @@
int nosource; /**< undocumented command */
int debug;
int literal; /**< 1: literal search */
-int print0; /**< @OPTION{-print0} option */
+int print0; /**< --print0 option */
int format;
int type; /**< path conversion type */
int match_part; /**< match part only */
@@ -148,13 +148,11 @@
char *single_update;
char *path_style;
-/**
- * @name Path filter
+/*
+ * Path filter
*/
-/** @{ */
int do_path;
int convert_type = PATH_RELATIVE;
-/** @} */
static void
usage(void)
@@ -262,7 +260,7 @@
* @param[in] tag tag name
* @param[in] file context file
* @param[in] lineno context lineno
- * @return #GTAGS, #GRTAGS, #GSYMS
+ * @return GTAGS, GRTAGS, GSYMS
*/
#define NEXT_NUMBER(p) do { \
for (n = 0; isdigit(*p); p++) \
@@ -968,12 +966,12 @@
return 0;
}
/**
- * completion_tags: print completion list of specified @a prefix
+ * completion_tags: print completion list of specified prefix
*
* @param[in] dbpath dbpath directory
* @param[in] root root directory
* @param[in] prefix prefix of primary key
- * @param[in] db #GTAGS,#GRTAGS,#GSYMS
+ * @param[in] db GTAGS,GRTAGS,GSYMS
* @return number of words
*/
int
@@ -997,12 +995,12 @@
return count;
}
/**
- * completion: print completion list of specified @a prefix
+ * completion: print completion list of specified prefix
*
* @param[in] dbpath dbpath directory
* @param[in] root root directory
* @param[in] prefix prefix of primary key
- * @param[in] db #GTAGS,#GRTAGS,#GSYMS
+ * @param[in] db GTAGS,GRTAGS,GSYMS
*/
void
completion(const char *dbpath, const char *root, const char *prefix, int db)
@@ -1047,7 +1045,7 @@
/* return total; */
}
/**
- * completion_idutils: print completion list of specified @a prefix
+ * completion_idutils: print completion list of specified prefix
*
* @param[in] dbpath dbpath directory
* @param[in] root root directory
@@ -1189,7 +1187,7 @@
/**
* print number of object.
*
- * This procedure is commonly used except for the @OPTION{-P} option.
+ * This procedure is commonly used except for the -P option.
*/
void
print_count(int number)
@@ -1209,10 +1207,10 @@
}
}
/**
- * idutils: @NAME{lid}(@NAME{idutils}) pattern
+ * idutils: lid(idutils) pattern
*
- * @param[in] pattern @NAME{POSIX} regular expression
- * @param[in] dbpath @FILE{GTAGS} directory
+ * @param[in] pattern POSIX regular expression
+ * @param[in] dbpath "GTAGS" directory
*/
void
idutils(const char *pattern, const char *dbpath)
@@ -1316,9 +1314,9 @@
}
}
/**
- * grep: @NAME{grep} pattern
+ * grep: grep pattern
*
- * @param[in] pattern @NAME{POSIX} regular expression
+ * @param[in] pattern POSIX regular expression
* @param argv
* @param dbpath
*/
@@ -1715,15 +1713,13 @@
}
}
/**
- * @fn int search(const char *pattern, const char *root, const char *cwd, const char *dbpath, int db)
- *
* search: search specified function
*
* @param[in] pattern search pattern
* @param[in] root root of source tree
* @param[in] cwd current directory
* @param[in] dbpath database directory
- * @param[in] db #GTAGS,#GRTAGS,#GSYMS
+ * @param[in] db GTAGS,GRTAGS,GSYMS
* @return count of output lines
*/
int
@@ -1775,7 +1771,7 @@
* @param[in] cwd current directory
* @param[in] root root of source tree
* @param[in] dbpath database directory
- * @param[in] db #GTAGS,#GRTAGS,#GSYMS
+ * @param[in] db GTAGS,GRTAGS,GSYMS
*/
void
tagsearch(const char *pattern, const char *cwd, const char *root, const char *dbpath, int db)
@@ -1846,11 +1842,11 @@
fputs(".\n", stderr);
}
}
-/**
- * encode: string copy with converting blank chars into @CODE{\%ff} format.
+/*
+ * encode: string copy with converting blank chars into %ff format.
*
* @param[out] to result
- * @param[in] size size of @a to buffer
+ * @param[in] size size of to buffer
* @param[in] from string
*/
void
diff -ur global-6.5-old/global/literal.c global-7.7-new/global/literal.c
--- global-6.5-old/global/literal.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/global/literal.c 2015-06-17 20:51:22.000000000 +0100
@@ -82,7 +82,7 @@
/**
* literal_comple: compile literal for search.
*
- * @param[in] pattern literal string
+ * @param[in] pat literal string
*
* Literal string is treated as is.
*/
@@ -104,8 +104,11 @@
cfail();
}
/**
+ * @fn int literal_search(CONVERT *cv, const char *file)
+ *
* literal_search: execute literal search
*
+ * @param[in] cv CONVERT structure
* @param[in] file file to search
* @return 0: normal, -1: error
*/
@@ -286,7 +289,7 @@
}
void
-cfail() {
+cfail(void) {
struct words *queue[QSIZE];
struct words **front, **rear;
struct words *state;
@@ -344,6 +347,6 @@
}
}
void
-overflo() {
+overflo(void) {
die("wordlist too large.");
}
diff -ur global-6.5-old/gozilla/gozilla.c global-7.7-new/gozilla/gozilla.c
--- global-6.5-old/gozilla/gozilla.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gozilla/gozilla.c 2015-06-15 19:10:24.000000000 +0100
@@ -46,7 +46,7 @@
/**
@file
- @NAME{gozilla} - force @NAME{mozilla} browser to display specified part of a source file.
+ gozilla - force mozilla browser to display specified part of a source file.
*/
static void usage(void);
@@ -172,7 +172,7 @@
}
/**
- * locate_HTMLdir: locate HTML directory made by @XREF{htags,1}.
+ * locate_HTMLdir: locate HTML directory made by htags(1).
*
* @return HTML directory
*/
@@ -352,7 +352,7 @@
*
* @param[in] arg definition name
* @param[in] htmldir HTML directory
- * @param[out] URL URL begin with @CODE{'file:'}
+ * @param[out] URL URL begin with 'file:'
*/
void
getdefinitionURL(const char *arg, const char *htmldir, STRBUF *URL)
@@ -392,11 +392,11 @@
strbuf_close(sb);
}
/**
- * getURL: get URL of the specified @a file.
+ * getURL: get URL of the specified file.
*
* @param[in] file file name
* @param[in] htmldir HTML directory
- * @param[out] URL URL begin with @CODE{'file:'}
+ * @param[out] URL URL begin with 'file:'
*/
void
getURL(const char *file, const char *htmldir, STRBUF *URL)
@@ -415,7 +415,7 @@
strbuf_close(sb);
}
/**
- * isprotocol: return 1 if @a url has a procotol.
+ * isprotocol: return 1 if url has a procotol.
*
* @param[in] url URL
* @return 1: protocol, 0: file
@@ -443,7 +443,7 @@
* convertpath: convert source file into hypertext path.
*
* @param[in] dbpath dbpath
- * @param[in] htmldir HTML directory made by @XREF{htags,1}
+ * @param[in] htmldir HTML directory made by htags(1)
* @param[in] path source file path
* @param[out] sb string buffer
* @return 0: normal, -1: error
@@ -502,7 +502,7 @@
return -1;
}
/**
- * makefileurl: make url which start with @CODE{'file:'}.
+ * makefileurl: make url which start with 'file:'.
*
* @param[in] path path name (absolute)
* @param[in] line !=0: line number
@@ -540,7 +540,7 @@
}
}
/**
- * show_page_by_url: show page by @a url
+ * show_page_by_url: show page by url
*
* @param[in] browser browser name
* @param[in] url URL
diff -ur global-6.5-old/gtags/gtags.c global-7.7-new/gtags/gtags.c
--- global-6.5-old/gtags/gtags.c 2015-06-19 18:59:46.000000000 +0100
+++ global-7.7-new/gtags/gtags.c 2015-06-19 19:09:51.000000000 +0100
@@ -65,7 +65,7 @@
/**
@file
- @NAME{gtags} - create tag files for @NAME{global}.
+ gtags - create tag files for global.
*/
static void usage(void);
@@ -805,7 +805,7 @@
* @param[in] dbpath directory in which tag file exist
* @param[in] root root directory of source tree
* @param[in] deleteset bit array of fid of deleted or modified files
- * @param[in] addlist @CODE{\\0} separated list of added or modified files
+ * @param[in] addlist '\0' separated list of added or modified files
*/
void
updatetags(const char *dbpath, const char *root, IDSET *deleteset, STRBUF *addlist)
diff -ur global-6.5-old/gtags-cscope/alloc.c global-7.7-new/gtags-cscope/alloc.c
--- global-6.5-old/gtags-cscope/alloc.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/alloc.c 2015-06-13 08:16:06.000000000 +0100
@@ -61,7 +61,7 @@
}
-/** version of @NAME{malloc} that only returns if successful */
+/** version of malloc that only returns if successful */
void *
mymalloc(size_t size)
{
@@ -69,7 +69,7 @@
}
-/** version of @NAME{calloc} that only returns if successful */
+/** version of calloc that only returns if successful */
void *
mycalloc(size_t nelem, size_t size)
{
@@ -77,7 +77,7 @@
}
-/** version of @NAME{realloc} that only returns if successful */
+/** version of realloc that only returns if successful */
void *
myrealloc(void *p, size_t size)
{
diff -ur global-6.5-old/gtags-cscope/command.c global-7.7-new/gtags-cscope/command.c
--- global-6.5-old/gtags-cscope/command.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/command.c 2015-06-13 08:17:52.000000000 +0100
@@ -33,7 +33,7 @@
/** @file
* command functions
*
- * @NAME{gtags-cscope} - interactive C symbol or text cross-reference (@NAME{cscope})
+ * gtags-cscope - interactive C symbol or text cross-reference (cscope)
*/
#include "global-cscope.h"
diff -ur global-6.5-old/gtags-cscope/constants.h global-7.7-new/gtags-cscope/constants.h
--- global-6.5-old/gtags-cscope/constants.h 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/constants.h 2015-06-15 19:25:13.000000000 +0100
@@ -46,24 +46,22 @@
/** control character macro */
#define ctrl(x) (x & 037)
-/** @name
- * fast string equality tests (avoids most @NAME{strcmp()} calls)
+/*
+ * fast string equality tests (avoids most strcmp() calls)
*/
-/** @{ */
#define strequal(s1, s2) (*(s1) == *(s2) && strcmp(s1, s2) == 0)
#define strnotequal(s1, s2) (*(s1) != *(s2) || strcmp(s1, s2) != 0)
-/** @} */
/** set the mark character for searching the cross-reference file */
#define setmark(c) (blockmark = c, block[blocklen] = blockmark)
/** get the next character in the cross-reference.
- @STRONG{note} that @CODE{blockp} is assumed not to be null */
+ note that blockp is assumed not to be null */
#define getrefchar() (*(++blockp + 1) != '\0' ? *blockp : \
(read_block() != NULL ? *blockp : '\0'))
/** skip the next character in the cross-reference.
- @STRONG{note} that @CODE{blockp} is assumed not to be null and that
+ note that blockp is assumed not to be null and that
this macro will always be in a statement by itself */
#define skiprefchar() if (*(++blockp + 1) == '\0') (void) read_block()
@@ -88,7 +86,7 @@
/** symbol pattern length */
#define PATLEN 250
-/** max @NAME{strlen()} of the global temp string */
+/** max strlen() of the global temp string */
#define TEMPSTRING_LEN 8191
/** cross-reference output file */
@@ -120,8 +118,7 @@
#define NUMLEN_STR STRINGIZE(NUMLEN)
#define TEMPSTRING_LEN_STR STRINGIZE(TEMPSTRING_LEN)
-/** @name screen lines */
-/** @{ */
+/* screen lines */
/** first input field line */
#define FLDLINE (LINES - FIELDS - 1)
@@ -133,10 +130,8 @@
/** first displayed reference line */
#define REFLINE 3
-/** @} */
-/** @name input fields (value matches field order on screen) */
-/** @{ */
+/* input fields (value matches field order on screen) */
#define SYMBOL 0
#define DEFINITION 1
#define CALLEDBY 2
@@ -147,7 +142,6 @@
#define FILENAME 7
#define INCLUDES 8
#define FIELDS 9
-/** @} */
#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__
/** no terminfo curses */
diff -ur global-6.5-old/gtags-cscope/display.c global-7.7-new/gtags-cscope/display.c
--- global-6.5-old/gtags-cscope/display.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/display.c 2015-06-15 19:23:12.000000000 +0100
@@ -622,7 +622,7 @@
}
}
-/** display an error mesg - @NAME{stdout} or on second msg line */
+/** display an error mesg - stdout or on second msg line */
void
posterr(char *msg, ...)
{
@@ -640,7 +640,7 @@
}
}
-/** display a fatal error mesg -- @NAME{stderr} @STRONG{*after*} shutting down curses */
+/** display a fatal error mesg -- stderr *after* shutting down curses */
void
postfatal(const char *msg, ...)
{
@@ -659,7 +659,7 @@
myexit(1);
}
-/** position references found file at specified @a line */
+/** position references found file at specified line */
void
seekline(unsigned int line)
@@ -682,7 +682,7 @@
}
}
-/** get the @NAME{OGS} subsystem and book names */
+/** get the OGS subsystem and book names */
void
ogsnames(char *file, char **subsystem, char **book)
@@ -711,7 +711,7 @@
}
}
-/** get the requested @a path @a components */
+/** get the requested path components */
char *
pathcomponents(char *path, int components)
diff -ur global-6.5-old/gtags-cscope/exec.c global-7.7-new/gtags-cscope/exec.c
--- global-6.5-old/gtags-cscope/exec.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/exec.c 2015-06-13 08:27:24.000000000 +0100
@@ -60,7 +60,7 @@
static sighandler_t oldsigquit; /**< old value of quit signal */
static sighandler_t oldsighup; /**< old value of hangup signal */
-static sighandler_t oldsigtstp; /**< old value of @VAR{SIGTSTP} */
+static sighandler_t oldsigtstp; /**< old value of SIGTSTP */
#if HAVE_FORK /* none of these is needed, there */
static int join(pid_t p);
@@ -117,8 +117,8 @@
#if HAVE_FORK /* None of the following functions is used there */
-/** myexecvp is an interface to the @NAME{execvp} system call to
- * modify @CODE{argv[0]} to reference the last component of its path-name.
+/** myexecvp is an interface to the execvp system call to
+ * modify argv[0] to reference the last component of its path-name.
*/
static int
myexecvp(char *a, char **args)
diff -ur global-6.5-old/gtags-cscope/global-cscope.h global-7.7-new/gtags-cscope/global-cscope.h
--- global-6.5-old/gtags-cscope/global-cscope.h 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/global-cscope.h 2015-06-15 19:20:39.000000000 +0100
@@ -202,11 +202,10 @@
char *text; /**< input field text */
};
-/** @name main.c global data */
-/** @{ */
+/* main.c global data */
extern char *editor, *home, *shell, *lineflag; /**< environment variables */
-extern char *global_command; /**< @FILE{global} by default */
-extern char *gtags_command; /**< @FILE{gtags} by default */
+extern char *global_command; /**< "global" by default */
+extern char *gtags_command; /**< "gtags" by default */
extern char *home; /**< Home directory */
extern BOOL lineflagafterfile;
extern char *argv0; /**< command name */
@@ -215,7 +214,7 @@
extern BOOL displayversion; /**< display the C Compilation System version */
#endif
extern BOOL editallprompt; /**< prompt between editing files */
-extern BOOL incurses; /**< in @NAME{curses} */
+extern BOOL incurses; /**< in curses */
extern BOOL isuptodate; /**< consider the crossref up-to-date */
extern BOOL linemode; /**< use line oriented user interface */
extern BOOL absolutepath; /**< print absolute path name */
@@ -227,10 +226,8 @@
extern char temp2[]; /**< temporary file name */
extern char tempstring[TEMPSTRING_LEN + 1]; /**< global dummy string buffer */
extern char *tmpdir; /**< temporary directory */
-/** @} */
-/** @name command.c global data */
-/** @{ */
+/* command.c global data */
extern BOOL caseless; /**< ignore letter case when searching */
extern BOOL *change; /**< change this line */
extern BOOL changing; /**< changing text */
@@ -238,10 +235,8 @@
extern unsigned int curdispline;
extern char newpat[]; /**< new pattern */
extern char Pattern[]; /**< symbol or text pattern */
-/** @} */
-/** @name display.c global data */
-/** @{ */
+/* display.c global data */
extern int booklen; /**< OGS book name display field length */
extern int *displine; /**< screen line of displayed reference */
extern unsigned int disprefs; /**< displayed references */
@@ -258,12 +253,9 @@
extern int subsystemlen; /**< OGS subsystem name display field length */
extern unsigned int totallines; /**< total reference lines */
extern const char dispchars[]; /**< display chars for jumping to lines */
-/** @} */
-/** @name mouse.c global data */
-/** @{ */
+/* mouse.c global data */
extern BOOL mouse; /**< mouse interface */
-/** @} */
#if UNIXPC
extern BOOL unixpcmouse; /**< UNIX PC mouse interface */
diff -ur global-6.5-old/gtags-cscope/gtags-cscope.c global-7.7-new/gtags-cscope/gtags-cscope.c
--- global-6.5-old/gtags-cscope/gtags-cscope.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/gtags-cscope.c 2015-06-15 19:17:32.000000000 +0100
@@ -32,7 +32,7 @@
/** @file
- * @NAME{gtags-cscope} - interactive C symbol cross-reference (@NAME{cscope})
+ * gtags-cscope - interactive C symbol cross-reference (cscope)
*
* main functions
*/
@@ -68,8 +68,7 @@
#define mkdir(path,mode) mkdir(path)
#endif
-/** @name defaults for unset environment variables */
-/** @{ */
+/* defaults for unset environment variables */
/** text editor */
#if defined(__DJGPP__) || (defined(_WIN32) && !defined(__CYGWIN__))
#define EDITOR "tde"
@@ -77,22 +76,21 @@
#define EDITOR "vi"
#endif
-/** no @NAME{\$HOME} --\> use root directory */
+/** no $HOME --> use root directory */
#define HOME "/"
/** shell executable */
#define SHELL "sh"
-/** default: used by @NAME{vi} and @NAME{emacs} */
+/** default: used by vi and emacs */
#define LINEFLAG "+%s"
/** temp dir */
#define TMPDIR "/tmp"
-/** @} */
static char const rcsid[] = "$Id: gtags-cscope.c,v 1.30 2013/11/16 01:39:29 shigio Exp $";
char *editor, *shell, *lineflag; /**< environment variables */
-char *global_command; /**< @FILE{global} by default */
-char *gtags_command; /**< @FILE{gtags} by default */
+char *global_command; /**< "global" by default */
+char *gtags_command; /**< "gtags" by default */
char *home; /**< Home directory */
BOOL lineflagafterfile;
char *argv0; /**< command name */
@@ -101,19 +99,19 @@
BOOL displayversion; /**< display the C Compilation System version */
#endif
BOOL editallprompt = YES; /**< prompt between editing files */
-BOOL incurses = NO; /**< in @NAME{curses} */
+BOOL incurses = NO; /**< in curses */
BOOL isuptodate; /**< consider the crossref up-to-date */
BOOL linemode = NO; /**< use line oriented user interface */
BOOL verbosemode = NO; /**< print extra information on line mode */
BOOL absolutepath = NO; /**< print absolute path name */
-BOOL ignoresigint = NO; /**< ignore @NAME{SIGINT} signal */
-BOOL ogs; /**< display @NAME{OGS} book and subsystem names */
+BOOL ignoresigint = NO; /**< ignore SIGINT signal */
+BOOL ogs; /**< display OGS book and subsystem names */
char *prependpath; /**< prepend path to file names */
FILE *refsfound; /**< references found file */
char temp1[PATHLEN + 1]; /**< temporary file name */
char temp2[PATHLEN + 1]; /**< temporary file name */
char tempdirpv[PATHLEN + 1]; /**< private temp directory */
-char tempstring[TEMPSTRING_LEN + 1]; /**< use this as a buffer, instead of @CODE{yytext},
+char tempstring[TEMPSTRING_LEN + 1]; /**< use this as a buffer, instead of yytext,
* which had better be left alone */
char *tmpdir; /**< temporary directory */
diff -ur global-6.5-old/gtags-cscope/input.c global-7.7-new/gtags-cscope/input.c
--- global-6.5-old/gtags-cscope/input.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/input.c 2015-06-13 08:44:04.000000000 +0100
@@ -249,7 +249,7 @@
mygetch();
}
-/** ask user to press the @NAME{RETURN} key after reading the message */
+/** ask user to press the RETURN key after reading the message */
void
askforreturn(void)
@@ -262,7 +262,7 @@
}
}
-/** expand the @CODE{~} and @CODE{\$} shell meta characters in a path */
+/** expand the ~ and $ shell meta characters in a path */
void
shellpath(char *out, int limit, char *in)
diff -ur global-6.5-old/gtags-cscope/logdir.c global-7.7-new/gtags-cscope/logdir.c
--- global-6.5-old/gtags-cscope/logdir.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/logdir.c 2015-06-13 08:45:00.000000000 +0100
@@ -33,8 +33,8 @@
/** @file
* logdir()
*
- * This routine does not use the @XREF{getpwent,3} library routine
- * because the latter uses the @NAME{stdio} package. The allocation of
+ * This routine does not use the getpwent(3) library routine
+ * because the latter uses the stdio package. The allocation of
* storage in this package destroys the integrity of the shell's
* storage allocation.
*/
diff -ur global-6.5-old/gtags-cscope/mouse.c global-7.7-new/gtags-cscope/mouse.c
--- global-6.5-old/gtags-cscope/mouse.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/mouse.c 2015-06-13 08:46:36.000000000 +0100
@@ -42,7 +42,7 @@
#ifdef UNIXPC /* build command requires #ifdef instead of #if */
#include
-BOOL unixpcmouse = NO; /**< running with a mouse on the @NAME{Unix} @NAME{PC}? */
+BOOL unixpcmouse = NO; /**< running with a mouse on the Unix PC? */
static int uw_hs, uw_vs; /**< character height and width */
#endif
@@ -195,7 +195,7 @@
(void) fflush(stdout);
}
-/** reinitialize the mouse in case @NAME{curses} changed the attributes */
+/** reinitialize the mouse in case curses changed the attributes */
void
mousereinit(void)
diff -ur global-6.5-old/gtags-cscope/mygetenv.c global-7.7-new/gtags-cscope/mygetenv.c
--- global-6.5-old/gtags-cscope/mygetenv.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/gtags-cscope/mygetenv.c 2015-06-13 08:47:38.000000000 +0100
@@ -36,7 +36,7 @@
#include
-/** return the @EMPH{non-null} environment value or the default argument */
+/** return the non-null environment value or the default argument */
char *
mygetenv(char *variable, char *deflt)
diff -ur global-6.5-old/htags/anchor.c global-7.7-new/htags/anchor.c
--- global-6.5-old/htags/anchor.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/htags/anchor.c 2015-06-17 16:16:23.000000000 +0100
@@ -46,20 +46,18 @@
static struct anchor *end;
static struct anchor *CURRENT;
-/** compare routine for @XREF{qsort,3} */
+/** compare routine for qsort(3) */
static int
cmp(const void *s1, const void *s2)
{
return ((struct anchor *)s1)->lineno - ((struct anchor *)s2)->lineno;
}
-/**
- * @name Pointers (as lineno).
+/*
+ * Pointers (as lineno).
*/
-/** @{ */
static int FIRST;
static int LAST;
static struct anchor *CURRENTDEF;
-/** @} */
/**
* anchor_prepare: setup input stream.
@@ -277,7 +275,7 @@
*
* @param[in] name name of anchor
* @param[in] length lenght of the name
- * @param[in] type ==0: not specified
+ * @param[in] type ==0: not specified,
* !=0: D, M, T, R, Y
* @param[in] lineno line number
*/
@@ -309,7 +307,7 @@
*
* @param[in] lineno line number
* @par Globals used (output):
- * #curp pointer to the current cluster
+ * curp pointer to the current cluster
*
* @return 1: definition, 0: not definition
*/
diff -ur global-6.5-old/htags/anchor.h global-7.7-new/htags/anchor.h
--- global-6.5-old/htags/anchor.h 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/htags/anchor.h 2015-06-17 16:11:43.000000000 +0100
@@ -25,8 +25,8 @@
*
* Anchor table.
*
- * Most names are written to #tag[] directly.
- * Long name whose length \> #ANCHOR_NAMELEN are written to newly allocated
+ * Most names are written to tag[] directly.
+ * Long name whose length > ANCHOR_NAMELEN are written to newly allocated
* memory and are linked to reserve. It is necessary to clear the variable
* which is not used.
*/
diff -ur global-6.5-old/htags/cache.c global-7.7-new/htags/cache.c
--- global-6.5-old/htags/cache.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/htags/cache.c 2015-06-15 21:08:46.000000000 +0100
@@ -32,35 +32,34 @@
#include "cache.h"
static ASSOC *assoc[GTAGLIM];
-/**
- * @file
- *
+/** @file */
+/*
* Cache file is used for duplicate object entry.
*
* @par
* If function 'func()' is defined more than once then the cache record
- * of @NAME{GTAGS} has @STRONG{(1)} the frequency and the name of duplicate object entry file,
- * else it has @STRONG{(2)} the tag definition.
+ * of GTAGS has (1) the frequency and the name of duplicate object entry file,
+ * else it has (2) the tag definition.
* It can be distinguished the first character of the cache record.
* If it is a blank then it is the former else the latter.
*
* @par
- * @STRONG{(1)} Duplicate tag file
+ * (1) Duplicate tag file
* @code{.txt}
* +-----------------------+
* |' '\0\0|
* +-----------------------+
* @endcode
- * Duplicate tag file can be referred to as @FILE{D/\.html}.
+ * Duplicate tag file can be referred to as "D/.html".
*
* @par
- * @STRONG{(2)} Tag definition
+ * (2) Tag definition
* @code{.txt}
* +----------------------+
* |\0\0|
* +----------------------+
* @endcode
- * Tag is referred to as @FILE{S/\.html\#\}.
+ * Tag is referred to as "S/.html#".
*/
/**
diff -ur global-6.5-old/htags/cflowindex.c global-7.7-new/htags/cflowindex.c
--- global-6.5-old/htags/cflowindex.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/htags/cflowindex.c 2015-06-13 11:02:20.000000000 +0100
@@ -31,10 +31,10 @@
#include "common.h"
/**
- * makecflowindex: make call-tree based on @NAME{cflow}'s output
+ * makecflowindex: make call-tree based on cflow's output
*
* @param[in] output output file name
- * @param[in] cflow_file input file which is the output of @NAME{Cflow} with @OPTION{--format=posix}
+ * @param[in] cflow_file input file which is the output of Cflow with --format=posix
*/
int
makecflowindex(const char *output, const char *cflow_file)
diff -ur global-6.5-old/htags/common.c global-7.7-new/htags/common.c
--- global-6.5-old/htags/common.c 2015-06-10 02:45:07.000000000 +0100
+++ global-7.7-new/htags/common.c 2015-06-15 21:05:21.000000000 +0100
@@ -45,10 +45,9 @@
#include "htags.h"
#include "path2url.h"
-/**
- * @name Tag definitions
+/*
+ * Tag definitions
*/
-/** @{ */
const char *html_begin = "";
const char *html_end = "";
const char *html_head_begin = "";
@@ -118,10 +117,8 @@
const char *empty_element = " /";
const char *noframes_begin = "";
const char *noframes_end = "";
-/** @} */
-/** @name tree view tag (--tree-view) */
-/** @{ */
+/* tree view tag (--tree-view) */
const char *tree_control = "";
const char *tree_loading = "Under construction...";
const char *tree_begin = "";
@@ -132,24 +129,21 @@
const char *dir_end = "";
const char *file_begin = "- ";
const char *file_end = "
";
-/** @} */
-/** @name fixed guide tag (--fixed-guide) */
-/** @{ */
+/* fixed guide tag (--fixed-guide) */
const char *guide_begin = "";
const char *guide_end = "
";
const char *guide_unit_begin = "- ";
const char *guide_unit_end = "
";
const char *guide_path_begin = "- ";
const char *guide_path_end = "
";
-/** @} */
static const char *fix_attr_value(const char *);
-/**
+/*
* print string and new line.
*
- * This function is a replacement of @CODE{fprintf(op, \"\%s\\n\", s)} in @NAME{htags}.
+ * This function is a replacement of fprintf(op, "%s\n", s) in htags.
*/
int
fputs_nl(const char *s, FILE *op)
@@ -158,14 +152,12 @@
putc('\n', op);
return 0;
}
-/**
- * @name These methods is used to tell lex() the current path infomation.
+/*
+ * These methods is used to tell lex() the current path infomation.
*/
-/** @{ */
static char current_path[MAXPATHLEN];
static char current_dir[MAXPATHLEN];
static char current_file[MAXPATHLEN];
-/** @} */
/**
* save path infomation
@@ -204,7 +196,7 @@
/**
* Generate upper directory.
*
- * Just returns the parent path of @a dir. (Adds @FILE{../} to it).
+ * Just returns the parent path of dir. (Adds "../" to it).
*/
const char *
upperdir(const char *dir)
@@ -215,10 +207,10 @@
strbuf_sprintf(sb, "../%s", dir);
return strbuf_value(sb);
}
-/**
- * Load text from file with replacing @address@hidden@} macro.
- * Macro @address@hidden@} is replaced with the parent directory
- * of the @FILE{HTML} directory.
+/*
+ * Load text from file with replacing @PARENT_DIR@ macro.
+ * Macro @PARENT_DIR@ is replaced with the parent directory
+ * of the "HTML" directory.
*/
static const char *
sed(FILE *ip, int place)
@@ -291,8 +283,8 @@
* Generate beginning of generic page
*
* @param[in] title title of this page
- * @param[in] place #SUBDIR: this page is in sub directory
- * #TOPDIR: this page is in the top directory
+ * @param[in] place SUBDIR: this page is in sub directory,
+ * TOPDIR: this page is in the top directory
* @param[in] use_frameset
* use frameset document type or not
* @param[in] header_item
@@ -349,8 +341,8 @@
* Generate beginning of normal page
*
* @param[in] title title of this page
- * @param[in] place #SUBDIR: this page is in sub directory
- * #TOPDIR: this page is in the top directory
+ * @param[in] place SUBDIR: this page is in sub directory,
+ * TOPDIR: this page is in the top directory
*/
const char *
gen_page_begin(const char *title, int place)
@@ -368,8 +360,8 @@
{
return gen_page_generic_begin(title, TOPDIR, 0, header_item);
}
-/**
- * Generate beginning of frameset page (@CODE{\