aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src/erl_comment_scan.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-07-07 09:08:16 +0200
committerHans Bolinder <[email protected]>2016-07-07 09:08:16 +0200
commitca4000874a198b218fd62b90e842475d2a0bb8c7 (patch)
treed5d77cf4a1fa0adb47a36346a89ac08af482c569 /lib/syntax_tools/src/erl_comment_scan.erl
parent62ef9f77d94563a03b8f1f5f1e8843f022329393 (diff)
parent531708281a3a2cf336dc92651ede8d9d95f331cb (diff)
downloadotp-ca4000874a198b218fd62b90e842475d2a0bb8c7.tar.gz
otp-ca4000874a198b218fd62b90e842475d2a0bb8c7.tar.bz2
otp-ca4000874a198b218fd62b90e842475d2a0bb8c7.zip
Merge branch 'hasse/erl_docgen/generated_type_links/ERL-120/OTP-13720' into maint
* hasse/erl_docgen/generated_type_links/ERL-120/OTP-13720: wx: Prepare for using Erlang types and specs syntax_tools: Improve types syntax_tools: Improve seealso:s referring to types erl_docgen: Allow 'seealso' in 'name' erl_docgen: Generate type links in callback module creating erlref erl_docgen: Correct callback module for creating erlref erl_docgen: Improve callback module for creating erlref edoc: Correct types
Diffstat (limited to 'lib/syntax_tools/src/erl_comment_scan.erl')
-rw-r--r--lib/syntax_tools/src/erl_comment_scan.erl10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/erl_comment_scan.erl b/lib/syntax_tools/src/erl_comment_scan.erl
index 03429d4d42..b5ac564146 100644
--- a/lib/syntax_tools/src/erl_comment_scan.erl
+++ b/lib/syntax_tools/src/erl_comment_scan.erl
@@ -30,8 +30,14 @@
%% =====================================================================
--type comment() :: {integer(), integer(), integer(), [string()]}.
--type commentLine() :: {integer(), integer(), integer(), string()}.
+-type comment() :: {Line:: integer(),
+ Column:: integer(),
+ Indentation :: integer(),
+ Text :: [string()]}.
+-type commentLine() :: {Line :: integer(),
+ Column :: integer(),
+ Indent :: integer(),
+ Text :: string()}.
%% =====================================================================
%% @spec file(FileName::file:filename()) -> [Comment]