aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/erl_syntax.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-09-15 14:25:48 +0200
committerHans Bolinder <[email protected]>2015-09-15 14:25:48 +0200
commit676b4aaf02b5ba4069ec19eff2c0b42074d30fce (patch)
treed6907817794d330611df1ef5a1969fe97ca8116f /lib/syntax_tools/src/erl_syntax.erl
parent195393b00e0a5b83526a2bca504fe32edd6dc989 (diff)
parentd16c327bd35493a3687f7e07e2b332d2d18c5bc8 (diff)
downloadotp-676b4aaf02b5ba4069ec19eff2c0b42074d30fce.tar.gz
otp-676b4aaf02b5ba4069ec19eff2c0b42074d30fce.tar.bz2
otp-676b4aaf02b5ba4069ec19eff2c0b42074d30fce.zip
Merge branch 'hb/finish_line_abstraction/OTP-12861'
* hb/finish_line_abstraction/OTP-12861: syntax_tools: Use the erl_anno module a bit more test_server: Fix a bug related to the use of the erl_anno module debugger: Fix a bug related to the use of the erl_anno module stdlib: Remove deprecated functions in erl_parse and erl_scan
Diffstat (limited to 'lib/syntax_tools/src/erl_syntax.erl')
-rw-r--r--lib/syntax_tools/src/erl_syntax.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/erl_syntax.erl b/lib/syntax_tools/src/erl_syntax.erl
index 3f2a3e05dd..97b5797b06 100644
--- a/lib/syntax_tools/src/erl_syntax.erl
+++ b/lib/syntax_tools/src/erl_syntax.erl
@@ -355,7 +355,7 @@
%% where `Pos' `Ann' and `Comments' are the corresponding values of a
%% `tree' or `wrapper' record.
--record(attr, {pos = 0 :: term(),
+-record(attr, {pos = erl_anno:new(0) :: term(),
ann = [] :: [term()],
com = none :: 'none' | #com{}}).
-type syntaxTreeAttributes() :: #attr{}.