aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/epp_dodger.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-10-31 09:35:27 +0100
committerBjörn Gustavsson <[email protected]>2015-04-30 12:15:25 +0200
commitd70818e34708114df1d4d16f5512ce584309a292 (patch)
tree7c81aefe758c2d93b0b263566595c7cf37e7e94e /lib/syntax_tools/src/epp_dodger.erl
parentda4deac551456d77378e7c5fcbb9b5b53ae7d4fc (diff)
downloadotp-d70818e34708114df1d4d16f5512ce584309a292.tar.gz
otp-d70818e34708114df1d4d16f5512ce584309a292.tar.bz2
otp-d70818e34708114df1d4d16f5512ce584309a292.zip
syntax_tools: Use module erl_anno
Diffstat (limited to 'lib/syntax_tools/src/epp_dodger.erl')
-rw-r--r--lib/syntax_tools/src/epp_dodger.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/epp_dodger.erl b/lib/syntax_tools/src/epp_dodger.erl
index 3ca7a8197e..39c522fd11 100644
--- a/lib/syntax_tools/src/epp_dodger.erl
+++ b/lib/syntax_tools/src/epp_dodger.erl
@@ -454,7 +454,7 @@ io_error(L, Desc) ->
{L, ?MODULE, Desc}.
start_pos([T | _Ts], _L) ->
- element(2, T);
+ erl_anno:line(element(2, T));
start_pos([], L) ->
L.