aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-02-13 15:51:30 +0100
committerHans Bolinder <[email protected]>2017-03-08 14:11:49 +0100
commitd37a0d105f5332d4f4b23642eb311012a5fe3a64 (patch)
treed3893903a639cfebc97e5d6c97ef5839bc73a895 /lib/kernel/src
parenteaaaddd7cece8fd952700613ff984196e3627004 (diff)
downloadotp-d37a0d105f5332d4f4b23642eb311012a5fe3a64.tar.gz
otp-d37a0d105f5332d4f4b23642eb311012a5fe3a64.tar.bz2
otp-d37a0d105f5332d4f4b23642eb311012a5fe3a64.zip
kernel: Fix handling of locations and annotations
Diffstat (limited to 'lib/kernel/src')
-rw-r--r--lib/kernel/src/application_controller.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kernel/src/application_controller.erl b/lib/kernel/src/application_controller.erl
index 0e61153613..3b642f5873 100644
--- a/lib/kernel/src/application_controller.erl
+++ b/lib/kernel/src/application_controller.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2016. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2017. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -1620,7 +1620,7 @@ conv(_) -> [].
make_term(Str) ->
case erl_scan:string(Str) of
{ok, Tokens, _} ->
- case erl_parse:parse_term(Tokens ++ [{dot, 1}]) of
+ case erl_parse:parse_term(Tokens ++ [{dot, erl_anno:new(1)}]) of
{ok, Term} ->
Term;
{error, {_,M,Reason}} ->