1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 14:30:50 -08:00

Reformat argument commentary in etags.c

* lib-src/etags.c (pfnote, consider_token, C_entries): Resurrect
original format of comments to function arguments.
This commit is contained in:
Eli Zaretskii 2020-11-15 19:26:38 +02:00
parent 4ec740866a
commit 286c632772

View file

@ -1973,14 +1973,13 @@ make_tag (const char *name, /* tag name, or NULL if unnamed */
/* Record a tag. */ /* Record a tag. */
static void static void
pfnote (char *name, bool is_func, char *linestart, ptrdiff_t linelen, pfnote (char *name, /* tag name, or NULL if unnamed */
intmax_t lno, intmax_t cno) bool is_func, /* tag is a function */
/* tag name, or NULL if unnamed */ char *linestart, /* start of the line where tag is */
/* tag is a function */ ptrdiff_t linelen, /* length of the line where tag is */
/* start of the line where tag is */ intmax_t lno, /* line number */
/* length of the line where tag is */ intmax_t cno) /* character number */
/* line number */
/* character number */
{ {
register node *np; register node *np;
@ -2904,15 +2903,13 @@ static void make_C_tag (bool);
*/ */
static bool static bool
consider_token (char *str, ptrdiff_t len, int c, int *c_extp, consider_token (char *str, /* IN: token pointer */
ptrdiff_t bracelev, ptrdiff_t parlev, bool *is_func_or_var) ptrdiff_t len, /* IN: token length */
/* IN: token pointer */ int c, /* IN: first char after the token */
/* IN: token length */ int *c_extp, /* IN, OUT: C extensions mask */
/* IN: first char after the token */ ptrdiff_t bracelev, /* IN: brace level */
/* IN, OUT: C extensions mask */ ptrdiff_t parlev, /* IN: parenthesis level */
/* IN: brace level */ bool *is_func_or_var) /* OUT: function or variable found */
/* IN: parenthesis level */
/* OUT: function or variable found */
{ {
/* When structdef is stagseen, scolonseen, or snone with bracelev > 0, /* When structdef is stagseen, scolonseen, or snone with bracelev > 0,
structtype is the type of the preceding struct-like keyword, and structtype is the type of the preceding struct-like keyword, and
@ -3311,9 +3308,8 @@ perhaps_more_input (FILE *inf)
* C syntax and adds them to the list. * C syntax and adds them to the list.
*/ */
static void static void
C_entries (int c_ext, FILE *inf) C_entries (int c_ext, /* extension of C */
/* extension of C */ FILE *inf) /* input file */
/* input file */
{ {
char c; /* latest char read; '\0' for end of line */ char c; /* latest char read; '\0' for end of line */
char *lp; /* pointer one beyond the character `c' */ char *lp; /* pointer one beyond the character `c' */