about summary refs log tree commit diff
path: root/src/libexpr/parser.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-01-29T14·24+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-01-29T14·24+0000
commitabd1878b26200ba3fa75592637aa87e04f52100d (patch)
treea11ad40af7f35a49bd12969e87f48a2929312712 /src/libexpr/parser.cc
parent3648d1c732379ef5d0f74cc3c2e5b876a7f2c9a2 (diff)
* Optimised the SDF grammar.
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")