Message ID | 20200707081823.2901-1-qianjh@cn.fujitsu.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
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
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