Update for newer bison.

This commit is contained in:
steve 2002-03-31 04:06:49 +00:00
parent 007d702223
commit 65159a2733
3 changed files with 9 additions and 4 deletions

View File

@ -18,7 +18,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: parse.y,v 1.4 2001/09/15 18:27:04 steve Exp $"
#ident "$Id: parse.y,v 1.5 2002/03/31 04:07:16 steve Exp $"
#endif
# include "config.h"
@ -132,7 +132,7 @@ const char*lookup_pattern(const char*key)
%%
start: section_list
start: section_list ;
section_list
: section

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT) && !defined(macintosh)
#ident "$Id: parse.y,v 1.145 2002/01/23 03:35:17 steve Exp $"
#ident "$Id: parse.y,v 1.146 2002/03/31 04:07:26 steve Exp $"
#endif
# include "config.h"
@ -1046,6 +1046,7 @@ identifier
delete $3;
$$ = tmp;
}
;
list_of_ports
: port_opt

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: parse.y,v 1.44 2002/03/18 00:19:34 steve Exp $"
#ident "$Id: parse.y,v 1.45 2002/03/31 04:06:49 steve Exp $"
#endif
# include "parse_misc.h"
@ -490,6 +490,7 @@ symbol
{ $$.text = $1;
$$.idx = $3;
}
;
symbol_opt
: symbol
@ -549,6 +550,9 @@ int compile_design(const char*path)
/*
* $Log: parse.y,v $
* Revision 1.45 2002/03/31 04:06:49 steve
* Update for newer bison.
*
* Revision 1.44 2002/03/18 00:19:34 steve
* Add the .ufunc statement.
*