This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: latest bison generates syntax error


Just updated my bison recently (bison-2.1-1) and now the generated y.tab.c file has an extra semicolon in it that causes the compiler to choke:

	#ifdef YYPARSE_PARAM
	# if defined (__STDC__) || defined (__cplusplus)
	int yyparse (void *YYPARSE_PARAM)
	# else
	int yyparse (YYPARSE_PARAM)
	  void *YYPARSE_PARAM;
	# endif
	#else /* ! YYPARSE_PARAM */
	#if defined (__STDC__) || defined (__cplusplus)
	int
	yyparse (void)
	#else
	int
	yyparse ()
-->	    ;
	#endif
	#endif
	{


Bison 2.2, which came out last week fixes the problem.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]