1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 19:57:59 +02:00

* Boolean constants.

This commit is contained in:
Eelco Dolstra 2003-11-02 17:36:15 +00:00
parent adf9a45469
commit 40986312bb
4 changed files with 24 additions and 5 deletions

View file

@ -50,6 +50,12 @@ struct Cleanup : TermFun
return ATmake("Int(<int>)", n);
}
if (ATmatch(e, "Bool(\"true\")", &s))
return ATmake("Bool(True)");
if (ATmatch(e, "Bool(\"false\")", &s))
return ATmake("Bool(False)");
return e;
}
};