Commit fc63bc6c authored by Christophe Benz's avatar Christophe Benz

"in" returns int (0, 1) representing bool

parent 35d08c0a
......@@ -119,7 +119,7 @@ def visit_comparaison(node):
def visit_dans(node):
return '{} {} {}'.format(
return 'int({} {} {})'.format(
visit_node(node['expression'], parenthesised=True),
'not in' if node.get('negative_form') else 'in',
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment