diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-05-25 18:25:19 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-05-25 18:25:19 +0000 |
commit | 3f66b8f90626e67effff0f45171f94d6c2e0a975 (patch) | |
tree | dcdf4a30788fd5e8ebbe59e46aee41233ae65cf0 /editors/openoffice-devel/files | |
parent | Update to 3.6.2 (diff) |
Fix build with bison 3.6.2
Notes
Notes:
svn path=/head/; revision=536493
Diffstat (limited to 'editors/openoffice-devel/files')
-rw-r--r-- | editors/openoffice-devel/files/patch-connectivity_source_parse_sqlbison.y | 16 | ||||
-rw-r--r-- | editors/openoffice-devel/files/patch-idlc_source_parser.y | 18 |
2 files changed, 34 insertions, 0 deletions
diff --git a/editors/openoffice-devel/files/patch-connectivity_source_parse_sqlbison.y b/editors/openoffice-devel/files/patch-connectivity_source_parse_sqlbison.y new file mode 100644 index 000000000000..fdad691cd9d9 --- /dev/null +++ b/editors/openoffice-devel/files/patch-connectivity_source_parse_sqlbison.y @@ -0,0 +1,16 @@ +--- connectivity/source/parse/sqlbison.y.orig 2019-09-17 22:55:11 UTC ++++ connectivity/source/parse/sqlbison.y +@@ -1,3 +1,4 @@ ++%define parse.error verbose + %{ + /************************************************************** + * +@@ -123,8 +124,6 @@ static connectivity::OSQLInternalNode* newNode(const : + + + connectivity::OSQLParser* xxx_pGLOBAL_SQLPARSER; +- +-#define YYERROR_VERBOSE + + #define SQLyyerror(s) \ + { \ diff --git a/editors/openoffice-devel/files/patch-idlc_source_parser.y b/editors/openoffice-devel/files/patch-idlc_source_parser.y new file mode 100644 index 000000000000..7ac3435cca25 --- /dev/null +++ b/editors/openoffice-devel/files/patch-idlc_source_parser.y @@ -0,0 +1,18 @@ +--- idlc/source/parser.y.orig 2019-09-17 22:55:16 UTC ++++ idlc/source/parser.y +@@ -25,6 +25,7 @@ + * parser.yy - BISON grammar for IDLC 1.0 + */ + ++%define parse.error verbose + %{ + #include <string.h> + +@@ -103,7 +104,6 @@ + using namespace ::rtl; + + #define YYDEBUG 1 +-#define YYERROR_VERBOSE 1 + + extern int yylex(void); + void yyerror(char const *); |