Skip to content

Commit

Permalink
Update bharat_parser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-op committed Aug 15, 2021
1 parent c005d3c commit fea2931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Bharat/bharat_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def expr(self, p):
def expr(self, p):
return ('class_func_call', p.ID0, p.ID1, ('args', p.args))

@_('expr ID "(" args ")"')
@_('expr PIPE ID "(" args ")"')
def expr(self, p):
return ('call', p.ID, ('args', [p.expr] + p.args))

Expand Down

0 comments on commit fea2931

Please sign in to comment.