From: Paul Eggert Date: Fri, 11 Oct 2002 21:19:27 +0000 (+0000) Subject: (Calling Convention): Fix strncmp typo. X-Git-Tag: BISON-1_75~38 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/68449b3ad300bf2b8dde4e789fe8c51c92745f6f (Calling Convention): Fix strncmp typo. --- diff --git a/doc/bison.texinfo b/doc/bison.texinfo index 5206a925..0d069f05 100644 --- a/doc/bison.texinfo +++ b/doc/bison.texinfo @@ -3796,8 +3796,8 @@ for (i = 0; i < YYNTOKENS; i++) @{ if (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) + 2] == 0) break;