From dd41efd11219fbdb4f855fbafdd2934e2279af5e Mon Sep 17 00:00:00 2001 From: Dan Shorstein Date: Tue, 20 Nov 2018 22:12:31 -0500 Subject: [PATCH] Fix bug in example on README to match example in calc.py; NUMBER was not returned as int --- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 2aabb78..5bd623f 100644 --- a/README.txt +++ b/README.txt @@ -158,7 +158,7 @@ expressions and store variables: @_('NUMBER') def expr(self, p): - return p.NUMBER + return int(p.NUMBER) @_('NAME') def expr(self, p):