aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-3/files/patch-idlc+source+parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice-3/files/patch-idlc+source+parser.y')
-rw-r--r--editors/openoffice-3/files/patch-idlc+source+parser.y36
1 files changed, 36 insertions, 0 deletions
diff --git a/editors/openoffice-3/files/patch-idlc+source+parser.y b/editors/openoffice-3/files/patch-idlc+source+parser.y
new file mode 100644
index 000000000000..69285ef67bdd
--- /dev/null
+++ b/editors/openoffice-3/files/patch-idlc+source+parser.y
@@ -0,0 +1,36 @@
+--- ../idlc/source/parser.y.orig Wed Jul 10 11:43:18 2002
++++ ../idlc/source/parser.y 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 :