diff options
Diffstat (limited to 'office/LibreOffice/bison_yyn-yyrule_rename.diff')
-rw-r--r-- | office/LibreOffice/bison_yyn-yyrule_rename.diff | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/office/LibreOffice/bison_yyn-yyrule_rename.diff b/office/LibreOffice/bison_yyn-yyrule_rename.diff deleted file mode 100644 index 9802135098..0000000000 --- a/office/LibreOffice/bison_yyn-yyrule_rename.diff +++ /dev/null @@ -1,18 +0,0 @@ ---- connectivity/source/parse/sqlbison.y.orig 2021-09-18 13:35:17.897000000 +1000 -+++ connectivity/source/parse/sqlbison.y 2021-09-18 13:32:58.864000000 +1000 -@@ -74,9 +74,15 @@ - - // yyi is the internal number of the rule that is currently being reduced - // This can be mapped to external rule number via the yyrmap. -+#if defined YYBISON && YYBISON >= 30800 -+#define SQL_NEW_RULE newNode("", SQLNodeType::Rule, yyr1[yyrule]) -+#define SQL_NEW_LISTRULE newNode("", SQLNodeType::ListRule, yyr1[yyrule]) -+#define SQL_NEW_COMMALISTRULE newNode("", SQLNodeType::CommaListRule, yyr1[yyrule]) -+#else - #define SQL_NEW_RULE newNode("", SQLNodeType::Rule, yyr1[yyn]) - #define SQL_NEW_LISTRULE newNode("", SQLNodeType::ListRule, yyr1[yyn]) - #define SQL_NEW_COMMALISTRULE newNode("", SQLNodeType::CommaListRule, yyr1[yyn]) -+#endif - - - extern connectivity::OSQLParser* xxx_pGLOBAL_SQLPARSER; |