aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-02-13 15:51:52 +0100
committerHans Bolinder <[email protected]>2017-03-08 14:11:49 +0100
commit36ec6943aae03a45fb6f6e52c39e93902a4fb196 (patch)
tree6a96a38161f580cc0bc334eff46d6b0f5b6dc892 /lib/diameter
parentd37a0d105f5332d4f4b23642eb311012a5fe3a64 (diff)
downloadotp-36ec6943aae03a45fb6f6e52c39e93902a4fb196.tar.gz
otp-36ec6943aae03a45fb6f6e52c39e93902a4fb196.tar.bz2
otp-36ec6943aae03a45fb6f6e52c39e93902a4fb196.zip
diameter: Fix handling of locations and annotations
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/src/compiler/diameter_codegen.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/diameter/src/compiler/diameter_codegen.erl b/lib/diameter/src/compiler/diameter_codegen.erl
index 864d5f0691..928ae37e7f 100644
--- a/lib/diameter/src/compiler/diameter_codegen.erl
+++ b/lib/diameter/src/compiler/diameter_codegen.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2016. All Rights Reserved.
+%% Copyright Ericsson AB 2010-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.
@@ -184,7 +184,7 @@ erl_forms(Mod, ParseD) ->
f_enumerated_avp(ParseD),
f_empty_value(ParseD),
f_dict(ParseD),
- {eof, erl_anno:new(?LINE)}]],
+ {eof, ?LINE}]],
lists:append(Forms).