about summary refs log tree commit diff
path: root/src/libexpr/parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/parser.cc')
-rw-r--r--src/libexpr/parser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/parser.cc b/src/libexpr/parser.cc
index 83b656342ff8..1e0ef0c45be8 100644
--- a/src/libexpr/parser.cc
+++ b/src/libexpr/parser.cc
@@ -45,10 +45,10 @@ struct Cleanup : TermFun
             return ATmake("Int(<int>)", n);
         }
 
-        if (atMatch(m, e) >> "Bool" >> "true")
+        if (atMatch(m, e) >> "Var" >> "true")
             return ATmake("Bool(True)");
         
-        if (atMatch(m, e) >> "Bool" >> "false")
+        if (atMatch(m, e) >> "Var" >> "false")
             return ATmake("Bool(False)");
 
         if (atMatch(m, e) >> "ExprNil")