Fix typo in the document of GCC Internals

Message ID 20200707081823.2901-1-qianjh@cn.fujitsu.com
State New
Headers show
Series
  • Fix typo in the document of GCC Internals
Related show

Commit Message

Qian Jianhua July 7, 2020, 8:18 a.m.
Hi

This patch fixes a typo in the document of GCC Internals.

---
 gcc/doc/generic.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.18.1

Comments

Richard Sandiford July 7, 2020, 9:13 a.m. | #1
Qian Jianhua <qianjh@cn.fujitsu.com> writes:
> This patch fixes a typo in the document of GCC Internals.


Pushed to trunk, thanks.

Richard
>

> ---

>  gcc/doc/generic.texi | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

>

> diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi

> index 827c4232aef..fb98727928a 100644

> --- a/gcc/doc/generic.texi

> +++ b/gcc/doc/generic.texi

> @@ -886,7 +886,7 @@ This lookup table needs to be kept up to date with the tree structure

>  hierarchy, or else checking and containment macros will fail

>  inappropriately.

>  

> -For language specific @code{DECL} nodes, their is an @code{init_ts}

> +For language specific @code{DECL} nodes, there is an @code{init_ts}

>  function in an appropriate @file{.c} file, which initializes the lookup

>  table.

>  Code setting up the table for new @code{DECL} nodes should be added

Patch

diff --git a/gcc/doc/generic.texi b/gcc/doc/generic.texi
index 827c4232aef..fb98727928a 100644
--- a/gcc/doc/generic.texi
+++ b/gcc/doc/generic.texi
@@ -886,7 +886,7 @@  This lookup table needs to be kept up to date with the tree structure
 hierarchy, or else checking and containment macros will fail
 inappropriately.
 
-For language specific @code{DECL} nodes, their is an @code{init_ts}
+For language specific @code{DECL} nodes, there is an @code{init_ts}
 function in an appropriate @file{.c} file, which initializes the lookup
 table.
 Code setting up the table for new @code{DECL} nodes should be added