mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 10:13:03 +00:00
Clean up some formatting.
This commit is contained in:
@@ -3391,7 +3391,8 @@ for (i = 0; i < YYNTOKENS; i++)
|
|||||||
@{
|
@{
|
||||||
if (yytname[i] != 0
|
if (yytname[i] != 0
|
||||||
&& yytname[i][0] == '"'
|
&& yytname[i][0] == '"'
|
||||||
&& strncmp (yytname[i] + 1, token_buffer, strlen (token_buffer))
|
&& strncmp (yytname[i] + 1, token_buffer,
|
||||||
|
strlen (token_buffer))
|
||||||
&& yytname[i][strlen (token_buffer) + 1] == '"'
|
&& yytname[i][strlen (token_buffer) + 1] == '"'
|
||||||
&& yytname[i][strlen (token_buffer) + 2] == 0)
|
&& yytname[i][strlen (token_buffer) + 2] == 0)
|
||||||
break;
|
break;
|
||||||
@@ -3726,8 +3727,8 @@ struct @{
|
|||||||
@};
|
@};
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
Thus, to get the starting line number of the third component, use
|
Thus, to get the starting line number of the third component, you would
|
||||||
@samp{@@3.first_line}.
|
use @samp{@@3.first_line}.
|
||||||
|
|
||||||
In order for the members of this structure to contain valid information,
|
In order for the members of this structure to contain valid information,
|
||||||
you must make @code{yylex} supply this information about each token.
|
you must make @code{yylex} supply this information about each token.
|
||||||
|
|||||||
Reference in New Issue
Block a user