Skip to content

Commit

Permalink
Merge pull request #3987 from k-takata/fix-typos
Browse files Browse the repository at this point in the history
docs,man: Fix typos
  • Loading branch information
masatake committed Apr 20, 2024
2 parents 7821641 + d8504ec commit 81e15e5
Show file tree
Hide file tree
Showing 16 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/internal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ the input character by character can obtain the current offset by calling

In some cases, you may want to specifying the offset of the end of
line (EOL). A macro ``EOL_CHAR_OFFSET`` defined in ``main/promise.h``
can be used for specying EOL in abstracted way; you don't have to find
can be used for specifying EOL in abstracted way; you don't have to find
the real offset for the EOL.

Internal design
Expand Down
2 changes: 1 addition & 1 deletion docs/man/ctags-client-tools.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ for using notable ones.
* If they have been added since last release, increment "{age}".
* If they have been removed since last release, set "{age}" to 0.

This concept is baesd on the versioning in **libtool**
This concept is based on the versioning in **libtool**
(`7.2 Libtool’s versioning system <https://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning>`_.)
In Universal Ctags, we simplified the concept with removing
"revision" in the versioning in libtool.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/ctags-lang-gdscript.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ with "--options=NONE --fields=+Ki --extras-GDScript=+{implicitClass} -o - input.
C input.gd /^class_name C$/;" class inherits:B
When `--extras=+r` is given, the parser extracts the class specified with the
`extends` keyword as a referece tag of ``class`` kind with ``extended`` role.
`extends` keyword as a reference tag of ``class`` kind with ``extended`` role.

"input.gd"

Expand Down
2 changes: 1 addition & 1 deletion docs/man/ctags-lang-rmarkdown.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Give `--extras=+{guest}` for enabling ``guest`` to command line if you
want to run proper parsers on lines inside code chunks.

The parser extracts chunk labels coming after `language-name` as
`chunklabel` kind objcts. In the exapmle, the RMarkdown parser
`chunklabel` kind objects. In the example, the RMarkdown parser
extracts `precalc` as a `chunklabel` kind object.
The `chunklabel` kind is enabled by default.

Expand Down
2 changes: 1 addition & 1 deletion docs/man/ctags-optlib.7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ representation. ``--list-regex-flags`` lists all the flags.
See also the description of ``scope=intervaltab`` flag.

``scope=intervaltab``
Use the interval table maintaind by the main part of
Use the interval table maintained by the main part of
ctags to fill in the ``scope:`` field.
This flag is useful for extending a built-in parser with the
``--regex-<LANG>=`` option with ``postrun`` flag.
Expand Down
6 changes: 3 additions & 3 deletions docs/man/readtags.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The behavior of reading tags can be controlled using these options:
Use specified tag file (default: "tags").
Giving "-" as TAGFILE indicates reading the tags file content from the
standard input. "-" can make the command line simpler. However,
it doesn't mean efficient; readtags stores the data to a temorary
it doesn't mean efficient; readtags stores the data to a temporary
file and reads that file for taking the ACTION.

``-s[0|1|2]``, ``--override-sort-detection METHOD``
Expand Down Expand Up @@ -398,7 +398,7 @@ as input for readtags:
foo input.c 6;" f typeref:typename:int file: signature:(int v)
main input.c 16;" f typeref:typename:int signature:(int argc,char ** argv)
An exapmle for printing only function names:
An example for printing only function names:

.. code-block:: console
Expand Down Expand Up @@ -474,5 +474,5 @@ Darren Hiebert <dhiebert@users.sourceforge.net>
http://DarrenHiebert.com/

The readtags command and libreadtags maintained at Universal Ctags
are derived from readtags.c and readtags.h developd at
are derived from readtags.c and readtags.h developed at
http://ctags.sourceforge.net.
2 changes: 1 addition & 1 deletion docs/man/tags.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ command can be used::
(replace ^I with a real <Tab>).

COMMENT: Universal Ctags running on MS Windows converts the ``\`` separator
to ``/`` by defualt, and allows the escape sequences even in {tagfile}
to ``/`` by default, and allows the escape sequences even in {tagfile}
if a condition is satisfied. See "`Exceptions in Universal Ctags`_" about
the condition.

Expand Down
2 changes: 1 addition & 1 deletion docs/releasing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ How to release a new version
$ git tag -a v5.9.0 -m 'Version 5.9.0'
$ git push upstream --tags

#. Make tarbarll in a freshly cloned directory
#. Make tarball in a freshly cloned directory

.. code-block:: console
Expand Down
2 changes: 1 addition & 1 deletion docs/testing-ctags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ by the compiler. *\*.gcno* files can be removed with ``make clean``.
After building ctags, you can run run-gcov target. When running
*\*.gcda* files. The target runs ctags with all input files under
*Units/\*\*/input.\**; and call ``gcov``. Human readable result is
printed. The detail can be shown in *\*.gcov*. files. *\*.gcda* files
printed. The detail can be shown in *\*.gcov* files. *\*.gcda* files
and *\*.gcov* files can be removed with ``make clean-gcov``.

Running cppcheck
Expand Down
2 changes: 1 addition & 1 deletion docs/windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Building ctags with MSBuild

This supports only Microsoft Visual Studio 2013.

Before starting to build, you need to copy somes file to proper location::
Before starting to build, you need to copy some files to proper location::

copy win32\config_mvc.h config.h
copy win32\gnulib_h\langinfo.h gnulib
Expand Down
2 changes: 1 addition & 1 deletion man/ctags-client-tools.7.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ for using notable ones.
* If they have been added since last release, increment "{age}".
* If they have been removed since last release, set "{age}" to 0.

This concept is baesd on the versioning in **libtool**
This concept is based on the versioning in **libtool**
(`7.2 Libtool’s versioning system <https://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning>`_.)
In Universal Ctags, we simplified the concept with removing
"revision" in the versioning in libtool.
Expand Down
2 changes: 1 addition & 1 deletion man/ctags-lang-gdscript.7.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ with "--options=NONE --fields=+Ki --extras-GDScript=+{implicitClass} -o - input.
C input.gd /^class_name C$/;" class inherits:B

When `--extras=+r` is given, the parser extracts the class specified with the
`extends` keyword as a referece tag of ``class`` kind with ``extended`` role.
`extends` keyword as a reference tag of ``class`` kind with ``extended`` role.

"input.gd"

Expand Down
2 changes: 1 addition & 1 deletion man/ctags-lang-rmarkdown.7.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Give `--extras=+{guest}` for enabling ``guest`` to command line if you
want to run proper parsers on lines inside code chunks.

The parser extracts chunk labels coming after `language-name` as
`chunklabel` kind objcts. In the exapmle, the RMarkdown parser
`chunklabel` kind objects. In the example, the RMarkdown parser
extracts `precalc` as a `chunklabel` kind object.
The `chunklabel` kind is enabled by default.

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 @@ -366,7 +366,7 @@ representation. ``--list-regex-flags`` lists all the flags.
See also the description of ``scope=intervaltab`` flag.

``scope=intervaltab``
Use the interval table maintaind by the main part of
Use the interval table maintained by the main part of
@CTAGS_NAME_EXECUTABLE@ to fill in the ``scope:`` field.
This flag is useful for extending a built-in parser with the
``--regex-<LANG>=`` option with ``postrun`` flag.
Expand Down
6 changes: 3 additions & 3 deletions man/readtags.1.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The behavior of reading tags can be controlled using these options:
Use specified tag file (default: "tags").
Giving "-" as TAGFILE indicates reading the tags file content from the
standard input. "-" can make the command line simpler. However,
it doesn't mean efficient; readtags stores the data to a temorary
it doesn't mean efficient; readtags stores the data to a temporary
file and reads that file for taking the ACTION.

``-s[0|1|2]``, ``--override-sort-detection METHOD``
Expand Down Expand Up @@ -398,7 +398,7 @@ as input for readtags:
foo input.c 6;" f typeref:typename:int file: signature:(int v)
main input.c 16;" f typeref:typename:int signature:(int argc,char ** argv)

An exapmle for printing only function names:
An example for printing only function names:

.. code-block:: console

Expand Down Expand Up @@ -474,5 +474,5 @@ Darren Hiebert <dhiebert@users.sourceforge.net>
http://DarrenHiebert.com/

The readtags command and libreadtags maintained at Universal Ctags
are derived from readtags.c and readtags.h developd at
are derived from readtags.c and readtags.h developed at
http://ctags.sourceforge.net.
2 changes: 1 addition & 1 deletion man/tags.5.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ command can be used::
(replace ^I with a real <Tab>).

COMMENT: Universal Ctags running on MS Windows converts the ``\`` separator
to ``/`` by defualt, and allows the escape sequences even in {tagfile}
to ``/`` by default, and allows the escape sequences even in {tagfile}
if a condition is satisfied. See "`Exceptions in Universal Ctags`_" about
the condition.

Expand Down

0 comments on commit 81e15e5

Please sign in to comment.