mirror of
https://github.com/sdiehl/write-you-a-haskell.git
synced 2024-08-16 15:11:06 +03:00
Fix ast type returned from parsing "false" atom.
This commit is contained in:
parent
b7e290a5ff
commit
6f1aa56dcd
@ -64,7 +64,7 @@ Atom : '(' Expr ')' { $2 }
|
||||
| NUM { Lit (LInt $1) }
|
||||
| VAR { Var $1 }
|
||||
| true { Lit (LBool True) }
|
||||
| false { Lit (LBool True) }
|
||||
| false { Lit (LBool False) }
|
||||
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user