bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

yynerrs doc fix


From: Paul Eggert
Subject: yynerrs doc fix
Date: Mon, 19 Sep 2005 23:02:45 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

I installed this:

2005-09-19  Paul Eggert  <address@hidden>

        * doc/bison.texinfo (Error Reporting, Table of Symbols):
        yynerrs is the number of errors reported, not the number of
        errors encountered.

--- doc/bison.texinfo.~1.159.~  2005-09-16 04:26:43.000000000 -0700
+++ doc/bison.texinfo   2005-09-19 22:00:28.000000000 -0700
@@ -4693,7 +4693,7 @@ preferable since it more accurately desc
 
 @vindex yynerrs
 The variable @code{yynerrs} contains the number of syntax errors
-encountered so far.  Normally this variable is global; but if you
+reported so far.  Normally this variable is global; but if you
 request a pure parser (@pxref{Pure Decl, ,A Pure (Reentrant) Parser})
 then it is a local variable which only the actions can access.
 
@@ -8097,7 +8097,7 @@ Management}.
 @end deffn
 
 @deffn {Variable} yynerrs
-Global variable which Bison increments each time there is a syntax error.
+Global variable which Bison increments each time it reports a syntax error.
 (In a pure parser, it is a local variable within @code{yyparse}.)
 @xref{Error Reporting, ,The Error Reporting Function @code{yyerror}}.
 @end deffn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]