]> git.saurik.com Git - bison.git/blobdiff - data/lalr1.cc
* data/glr.c (YYLLOC_DEFAULT): Parenthesize arguments as needed,
[bison.git] / data / lalr1.cc
index a40521b431f34a91b68a609ed031a20721da8893..0e33541eaf8f73e7543f2b402dce132cda37ecea 100644 (file)
@@ -170,7 +170,7 @@ b4_syncline([@oline@], [@ofile@])],
 b4_syncline([@oline@], [@ofile@])[
 #ifndef YYLLOC_DEFAULT
 # define YYLLOC_DEFAULT(Current, Rhs, N) \
-   Current.end = Rhs[N].end;
+   ((Current).end = Rhs[N].end)
 #endif
 
 namespace yy