Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f044be2

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /