[Libreoffice-commits] core.git: unoidl/source
Khaled Hosny
khaledhosny at eglug.org
Tue Sep 17 03:04:12 PDT 2013
unoidl/source/sourceprovider-parser.y | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit be55ed02c0cdc590c044491b9b8f7cc8bdddd3c4
Author: Khaled Hosny <khaledhosny at eglug.org>
Date: Tue Sep 17 11:48:15 2013 +0200
Fix build with Bison 3
The Bison 3 generated sources do not seem to define YYID, so our
YYLLOC_DEFAULT definition was broken. No idea what any of this means,
but sberg said I can safely remove the YYID usage, so if it kills your
pet, you know whom to blame.
Change-Id: I464564be941e0a49da264057923bf8e8e82d5ffd
diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y
index 92deb23..c2e1d7e 100644
--- a/unoidl/source/sourceprovider-parser.y
+++ b/unoidl/source/sourceprovider-parser.y
@@ -59,7 +59,7 @@
#include "sourceprovider-scanner.hxx"
#define YYLLOC_DEFAULT(Current, Rhs, N) \
- do { (Current) = YYRHSLOC((Rhs), YYID((N)) ? 1 : 0); } while (YYID(0))
+ do { (Current) = YYRHSLOC((Rhs), (N) ? 1 : 0); } while (0)
void yyerror(YYLTYPE * locp, yyscan_t yyscanner, char const * msg) {
assert(locp != 0);
More information about the Libreoffice-commits
mailing list