[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in demonstration code in texinfo documentation.
From: |
Scott A Crosby |
Subject: |
Bug in demonstration code in texinfo documentation. |
Date: |
22 Sep 2003 18:58:36 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
The following code in the bison 1.35 texinfo has a bug in it:
for (i = 0; i < YYNTOKENS; i++)
{
if (yytname[i] != 0
&& yytname[i][0] == '"'
&& strncmp (yytname[i] + 1, token_buffer,
strlen (token_buffer))
&& yytname[i][strlen (token_buffer) + 1] == '"'
&& yytname[i][strlen (token_buffer) + 2] == 0)
break;
}
The 'strncmp' should be '!strncmp'
Scott
- Bug in demonstration code in texinfo documentation.,
Scott A Crosby <=