Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
ca3cf514
Commit
ca3cf514
authored
Nov 26, 2014
by
yb9976
Browse files
Always use a list for python3 compatibility.
parent
129c0171
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/gen_ir.py
View file @
ca3cf514
...
...
@@ -130,8 +130,8 @@ def format_pinned(node):
return
""
def
format_flags
(
node
):
flags
=
map
(
lambda
x
:
"irop_flag_"
+
x
,
node
.
flags
)
if
flags
==
[]
:
flags
=
list
(
map
(
lambda
x
:
"irop_flag_"
+
x
,
node
.
flags
)
)
if
not
flags
:
flags
=
[
"irop_flag_none"
]
return
" | "
.
join
(
flags
)
...
...
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