Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
grumpy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
grumpy
Commits
94679e33
Commit
94679e33
authored
Mar 24, 2017
by
Dong-hee Na
Committed by
Dylan Trotter
Mar 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quick fix for floordiv. (#274)
parent
53a6dfb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
compiler/expr_visitor.py
compiler/expr_visitor.py
+1
-1
No files found.
compiler/expr_visitor.py
View file @
94679e33
...
...
@@ -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.
Floor
Div(πF, {lhs}, {rhs})'
,
ast
.
LShift
:
'πg.LShift(πF, {lhs}, {rhs})'
,
ast
.
Mod
:
'πg.Mod(πF, {lhs}, {rhs})'
,
ast
.
Mult
:
'πg.Mul(πF, {lhs}, {rhs})'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment