From 0fd542c3e012bc507e3fcddcc9e38fb648498a29 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Thu, 2 Jul 2020 07:00:24 +0200 Subject: [PATCH] doc: improve a sentence * doc/bison.texi: here. --- doc/bison.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bison.texi b/doc/bison.texi index ad2d5657..5409f36c 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -7706,7 +7706,7 @@ typedef enum yysymbol_kind_t yysymbol_kind_t; @deftypefun {static yysymbol_kind_t} yypcontext_token (@code{const yypcontext_t *}@var{ctx}) The ``unexpected'' token: the symbol kind of the lookahead token that caused -the syntax error. Return @code{YYSYMBOL_YYEMPTY} if there is no lookahead. +the syntax error. Returns @code{YYSYMBOL_YYEMPTY} if there is no lookahead. @end deftypefun @deftypefun {static YYLTYPE *} yypcontext_location (@code{const yypcontext_t *}@var{ctx}) @@ -12349,7 +12349,7 @@ The ``unexpected'' token: the lookahead that caused the syntax error. @end deftypemethod @deftypemethod {context} {symbol_kind_type} token () @code{const} -The symbol kind of the lookahead token that caused the syntax error. Return +The symbol kind of the lookahead token that caused the syntax error. Returns @code{symbol_kind::S_YYEMPTY} if there is no lookahead. @end deftypemethod