summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/sourceprovider-parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/sourceprovider-parser.y b/unoidl/source/sourceprovider-parser.y
index 92deb23d96e4..c2e1d7e31d48 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);