nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ee3bcd
)
nitpretty: fixes length calculation for statements
author
Alexandre Terrasa
<alexandre@moz-code.org>
Mon, 22 Dec 2014 05:32:28 +0000
(
00:32
-0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 13 Jan 2015 16:47:43 +0000
(17:47 +0100)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/pretty.nit
patch
|
blob
|
history
diff --git
a/src/pretty.nit
b/src/pretty.nit
index
0227097
..
9225750
100644
(file)
--- a/
src/pretty.nit
+++ b/
src/pretty.nit
@@
-345,7
+345,7
@@
redef class Prod
end
redef fun was_inline do
- return first_token.location.line_start == last_token.location.line_end
+ return start_token.location.line_start == last_token.location.line_end
end
end