mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
* src/system.h: We don't need nor want bcopy.
Throw away MS-DOS crap: we don't need getpid. * configure.in: We don't need strndup. It was even causing problems: because Flex includes the headers *before* us, _GNU_SOURCE is not defined by config.h, and therefore strndup was not visible. * lib/xstrndup.c: New. * src/scan-skel.l: Use it. Be sure to initialize yylval.muscle member when scanning a MUSCLE. * src/parse-skel.y: Use %directives instead of #defines.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
%debug
|
||||
%defines
|
||||
%verbose
|
||||
%error-verbose
|
||||
|
||||
%{
|
||||
@@ -47,8 +48,8 @@ static int yyerror PARAMS ((const char* error));
|
||||
|
||||
%union
|
||||
{
|
||||
char* muscle;
|
||||
char* string;
|
||||
char *muscle;
|
||||
char *string;
|
||||
char character;
|
||||
int yacc;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user