Merge pull request #18 from danshorstein/hotfix/readme-update
Fix bug in example on README
This commit is contained in:
commit
d87f21a138
@ -158,7 +158,7 @@ expressions and store variables:
|
|||||||
|
|
||||||
@_('NUMBER')
|
@_('NUMBER')
|
||||||
def expr(self, p):
|
def expr(self, p):
|
||||||
return p.NUMBER
|
return int(p.NUMBER)
|
||||||
|
|
||||||
@_('NAME')
|
@_('NAME')
|
||||||
def expr(self, p):
|
def expr(self, p):
|
||||||
|
Loading…
Reference in New Issue
Block a user