Fix dot operator associativity. a.b.c would not be parsed otherwise
This commit is contained in:
parent
bad6a0a6d5
commit
1e8ee3af67
|
@ -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 ]
|
||||
|
|
Loading…
Reference in New Issue