freebsd-ports/graphics/cybervrml97/files/patch-vrml.y
Joe Marcus Clarke f1e423ef4f Fix build with bison 1.75.
Reported by:	bento
2002-12-02 03:45:57 +00:00

34 lines
656 B
Text

--- vrml.y.orig Sun Dec 1 22:46:12 2002
+++ vrml.y Sun Dec 1 22:46:55 2002
@@ -84,7 +84,6 @@
#define YYMAXDEPTH (1024 * 8 * 1000)
int yyerror(char *s);
-int yyparse(void);
int yylex(void);
%}
@@ -546,6 +545,7 @@
AddNode(audioClip);
PushNode(VRML_NODETYPE_AUDIOCLIP, audioClip);
}
+ ;
AudioClip
: AudioClipBegin NodeBegin AudioClipElements NodeEnd
@@ -1928,6 +1928,7 @@
{
((MaterialNode *)GetCurrentNodeObject())->setTransparency($2);
}
+ ;
MaterialBegin
: MATERIAL
@@ -2410,6 +2411,7 @@
pset->initialize();
PopNode();
}
+ ;
/******************************************************************
*