Commit 94679e33 authored by Dong-hee Na's avatar Dong-hee Na Committed by Dylan Trotter

Quick fix for floordiv. (#274)

parent 53a6dfb9
......@@ -390,7 +390,7 @@ class ExprVisitor(algorithm.Visitor):
ast.Add: 'πg.Add(πF, {lhs}, {rhs})',
ast.Div: 'πg.Div(πF, {lhs}, {rhs})',
# TODO: Support "from __future__ import division".
ast.FloorDiv: 'πg.Div(πF, {lhs}, {rhs})',
ast.FloorDiv: 'πg.FloorDiv(πF, {lhs}, {rhs})',
ast.LShift: 'πg.LShift(πF, {lhs}, {rhs})',
ast.Mod: 'πg.Mod(πF, {lhs}, {rhs})',
ast.Mult: 'πg.Mul(πF, {lhs}, {rhs})',
......
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