1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/editors/openoffice/files/patch-idlc+source+parser.yy
Martin Blapp 5baa4bf2b2 Commit first part of bison 1.75 patches.
Tested by:	various openoffice users
2002-11-04 06:15:37 +00:00

37 lines
635 B
Plaintext

--- ../idlc/source/parser.yy.orig Wed Jul 10 11:43:18 2002
+++ ../idlc/source/parser.yy Thu Oct 31 10:00:47 2002
@@ -995,7 +995,8 @@
{
idlc()->setParseState(PS_ConstantDeclSeen);
}
- ';'
+ ';' {};
+
const_dcl :
IDL_CONST
@@ -1316,7 +1317,7 @@
* Push the scope of the exception on the scopes stack
*/
idlc()->scopes()->push(pExcept);
- delete $1
+ delete $1;
}
'{'
{
@@ -1705,10 +1706,10 @@
{
idlc()->setParseState(PS_TypedefSeen);
}
- type_declarator
- | struct_type
- | union_type
- | enum_type
+ type_declarator {}
+ | struct_type {}
+ | union_type {}
+ | enum_type {}
;
type_declarator :