diff options
author | Hans Bolinder <[email protected]> | 2015-07-02 13:28:46 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-09-15 14:15:49 +0200 |
commit | d16c327bd35493a3687f7e07e2b332d2d18c5bc8 (patch) | |
tree | d6907817794d330611df1ef5a1969fe97ca8116f /lib/syntax_tools/src/erl_syntax.erl | |
parent | 5ba36a3857eb2673d28fd33ec4655da41ee78d3d (diff) | |
download | otp-d16c327bd35493a3687f7e07e2b332d2d18c5bc8.tar.gz otp-d16c327bd35493a3687f7e07e2b332d2d18c5bc8.tar.bz2 otp-d16c327bd35493a3687f7e07e2b332d2d18c5bc8.zip |
syntax_tools: Use the erl_anno module a bit more
Diffstat (limited to 'lib/syntax_tools/src/erl_syntax.erl')
-rw-r--r-- | lib/syntax_tools/src/erl_syntax.erl | 2 |
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{}. |