Le 23 févr. 2012 à 20:22, Akim Demaille a écrit : > From 53645905ea763faa4ec9d28260894c476a19b38e Mon Sep 17 00:00:00 2001 > From: Akim Demaille <[email protected]> > Date: Thu, 23 Feb 2012 20:14:42 +0100 > Subject: [PATCH] avoid direct strncmp calls. > > Before this change, bison would accept either .tab and _tab equivalently, > whatever the current platform. Besides, it was not obeying everywhere > to the possible definition of TAB_EXT to something else than .tab. > > For consistency, handle only TAB_EXT (".tab" on non DJGPP platforms). > Support for "_tab" is neither documented, nor tested. > > * src/system.h (STRNCMP_LIT): New. > From Jim Meyering. > (STRPREFIX_LIT): New. > * src/files.c, src/getargs.c: Use it.
Installed in master.
