unoidl/source/sourceprovider-parser.y |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be55ed02c0cdc590c044491b9b8f7cc8bdddd3c4
Author: Khaled Hosny <[email protected]>
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);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to