nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d14706
)
nitcc: remove a truism warning
author
Jean Privat
<jean@pryen.org>
Fri, 27 Oct 2017 13:16:17 +0000
(09:16 -0400)
committer
Jean Privat
<jean@pryen.org>
Fri, 27 Oct 2017 13:16:17 +0000
(09:16 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
contrib/nitcc/src/autom.nit
patch
|
blob
|
history
diff --git
a/contrib/nitcc/src/autom.nit
b/contrib/nitcc/src/autom.nit
index
e0be1d4
..
0e9dc87
100644
(file)
--- a/
contrib/nitcc/src/autom.nit
+++ b/
contrib/nitcc/src/autom.nit
@@
-526,7
+526,7
@@
class Automaton
f.append("s{names[s]}->s{names[s2]} [label=\"{labe.escape_to_dot}\"];\n")
end
end
- if merge_transitions == null or merge_transitions == true then
+ if merge_transitions or else true then
f.append("s{names[s]}->s{names[s2]} [label=\"{labe.escape_to_c}\"];\n")
end
end