on master help sign in
Turn unary negation back on.
commit18adffc06dc89245d925b0bf20e5999881784136 authorEvan Czaplicki <evan@Evans-MacBook-Air.local> dateTue 16 Jul 2013, 00:36 (13 years ago) parent90d50db
1 file changed+1−1
compiler/Parse/Expression.hs+1−1
compiler/Parse/Expression.hs+1−1
@@ -126,7 +126,7 @@ recordTerm = brackets $ choice [ misc, addLocation record ]
126126
127127
128128term :: IParser (LExpr t v)
129−term = addLocation (choice [ Literal <$> literal, listTerm, accessor ])
129+term = addLocation (choice [ Literal <$> literal, listTerm, accessor, negative ])
130130 <|> accessible (addLocation varTerm <|> parensTerm <|> recordTerm)
131131 <?> "basic term (4, x, 'c', etc.)"
132132