Skip to content

Commit 52d6426

Browse files
committed
Parser: rm equals
1 parent 20bccb7 commit 52d6426

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Nix/Parser.hs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,6 @@ brackets = on between symbol "[" "]"
187187
-- colon = symbol ":"
188188
-- dot = symbol "."
189189

190-
equals :: Parser Text
191-
equals = symbol "="
192-
193190
question :: Parser Text
194191
question = symbol "?"
195192

@@ -382,7 +379,7 @@ nixBinders = (inherit <|> namedVar) `endBy` symbol ";" where
382379
label "variable binding" $
383380
liftA3 NamedVar
384381
(annotated <$> nixSelector)
385-
(equals *> nixToplevelForm)
382+
(symbol "=" *> nixToplevelForm)
386383
(pure p)
387384
scope = label "inherit scope" nixParens
388385

0 commit comments

Comments
 (0)