aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/qlc_pt.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-02-13 10:38:23 +0100
committerHans Bolinder <[email protected]>2017-03-08 14:11:49 +0100
commitde736de7b0eee391e3411ecd515d7bdae1bdc16c (patch)
tree651f27dcc8dfff134ca2aeb133d93ddf757b951b /lib/stdlib/src/qlc_pt.erl
parent5a2c12d6b26bd5f2c7e0ab75b44749acf1b788e0 (diff)
downloadotp-de736de7b0eee391e3411ecd515d7bdae1bdc16c.tar.gz
otp-de736de7b0eee391e3411ecd515d7bdae1bdc16c.tar.bz2
otp-de736de7b0eee391e3411ecd515d7bdae1bdc16c.zip
stdlib: Fix handling of locations and annotations
Diffstat (limited to 'lib/stdlib/src/qlc_pt.erl')
-rw-r--r--lib/stdlib/src/qlc_pt.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/qlc_pt.erl b/lib/stdlib/src/qlc_pt.erl
index 28221ea75f..4a39f8ae9d 100644
--- a/lib/stdlib/src/qlc_pt.erl
+++ b/lib/stdlib/src/qlc_pt.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2004-2016. All Rights Reserved.
+%% Copyright Ericsson AB 2004-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.
@@ -439,7 +439,7 @@ compile_forms(Forms0, Options) ->
(_) -> false
end,
Forms = ([F || F <- Forms0, not Exclude(element(1, F))]
- ++ [{eof,anno0()}]),
+ ++ [{eof,0}]),
try
case compile:noenv_forms(Forms, compile_options(Options)) of
{ok, _ModName, Ws0} ->