summaryrefslogtreecommitdiff
path: root/lib/compiler/src/core_pp.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compiler/src/core_pp.erl')
-rw-r--r--lib/compiler/src/core_pp.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/compiler/src/core_pp.erl b/lib/compiler/src/core_pp.erl
index 19fa11235c..ab92f3dfce 100644
--- a/lib/compiler/src/core_pp.erl
+++ b/lib/compiler/src/core_pp.erl
@@ -101,6 +101,8 @@ format_anno_list([H], Ctxt) ->
strip_line([A | As]) when is_integer(A) ->
strip_line(As);
+strip_line([{A,C} | As]) when is_integer(A), is_integer(C) ->
+ strip_line(As);
strip_line([{file,_File} | As]) ->
strip_line(As);
strip_line([A | As]) ->
@@ -110,6 +112,8 @@ strip_line([]) ->
get_line([L | _As]) when is_integer(L) ->
L;
+get_line([{L, _Column} | _As]) when is_integer(L) ->
+ L;
get_line([_ | As]) ->
get_line(As);
get_line([]) ->