Skip to content

Commit

Permalink
Merge pull request #3691 from masatake/misc-fix
Browse files Browse the repository at this point in the history
Misc fix
  • Loading branch information
masatake committed Apr 5, 2023
2 parents 2bb6279 + 626052d commit c260d9e
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/man/ctags-optlib.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ OPTIONS
This option is similar to ``--regex-<LANG>`` option except the pattern is
applied to the whole file’s contents, not line by line.

See "`FLAGS FOR ``--mline-regex-<LANG>`` OPTION`_" about ``{mgroup=<N>}``.
See "`FLAGS FOR --mline-regex-<LANG> OPTION`_" about ``{mgroup=<N>}``.
``{mgroup=<N>}`` flag is a must.

``--_echo=<message>``
Expand Down
2 changes: 1 addition & 1 deletion man/ctags-optlib.7.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ OPTIONS
This option is similar to ``--regex-<LANG>`` option except the pattern is
applied to the whole file’s contents, not line by line.

See "`FLAGS FOR ``--mline-regex-<LANG>`` OPTION`_" about ``{mgroup=<N>}``.
See "`FLAGS FOR --mline-regex-<LANG> OPTION`_" about ``{mgroup=<N>}``.
``{mgroup=<N>}`` flag is a must.

``--_echo=<message>``
Expand Down
4 changes: 3 additions & 1 deletion parsers/objc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/*
* Copyright (c) 2010, Vincent Berthoux
*
Expand Down Expand Up @@ -514,6 +513,9 @@ static int addTag (vString * const ident, int kind)
if (! ObjcKinds[kind].enabled)
return CORK_NIL;

if (vStringIsEmpty (ident))
return CORK_NIL;

prepareTag (&toCreate, ident, kind);
return makeTagEntry (&toCreate);
}
Expand Down

0 comments on commit c260d9e

Please sign in to comment.