Skip to content

Commit f044be2

Browse files
authored
Merge pull request #7 from ktb88/master
fixed BooleanLiteral value
2 parents c0db3cd + c2612b5 commit f044be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solidity_parser/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def visitPrimaryExpression(self, ctx):
639639
if ctx.BooleanLiteral():
640640
return Node(ctx=ctx,
641641
type='BooleanLiteral',
642-
value=ctx.BooleanLiteral().getText() == 'True')
642+
value=ctx.BooleanLiteral().getText() == 'true')
643643

644644
if ctx.HexLiteral():
645645
return Node(ctx=ctx,

0 commit comments

Comments
 (0)