Fix dot operator associativity. a.b.c would not be parsed otherwise

This commit is contained in:
Luca Bruno 2014-07-07 15:01:03 +02:00
parent bad6a0a6d5
commit 1e8ee3af67
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ nixExpr :: Bool -> Parser NExpr
nixExpr = buildExpressionParser table . nixTerm
where
table =
[ [ binary "." NAttr AssocNone ]
[ [ binary "." NAttr AssocLeft ]
, [ prefix "-" NNeg ]
-- , [ prefix "~" NSubpath ] -- deprecated
, [ binary "?" NHasAttr AssocNone ]