aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_specs.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-05-17 09:52:27 +0200
committerHans Bolinder <[email protected]>2011-05-17 09:52:27 +0200
commit766e09ac2d1abfa65f65377945ce8f06905e786e (patch)
tree06b2cf48b871c835a5388291df3d11e79aa1385e /lib/edoc/src/edoc_specs.erl
parentc666fa93b12399a0160b6bfedf002eacbc2f01e2 (diff)
downloadotp-766e09ac2d1abfa65f65377945ce8f06905e786e.tar.gz
otp-766e09ac2d1abfa65f65377945ce8f06905e786e.tar.bz2
otp-766e09ac2d1abfa65f65377945ce8f06905e786e.zip
Fix bugs concerning the option report_missing_types
Bugs concerning the option report_missing_types that was added in EDoc-0.7.7 have been corrected: the option was misspelled in the source, and local definitions as well as the function tags @private and @hidden were not handled correctly. (Thanks to Manolis Papadakis.)
Diffstat (limited to 'lib/edoc/src/edoc_specs.erl')
-rw-r--r--lib/edoc/src/edoc_specs.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/edoc/src/edoc_specs.erl b/lib/edoc/src/edoc_specs.erl
index 45016ef85a..519ade726f 100644
--- a/lib/edoc/src/edoc_specs.erl
+++ b/lib/edoc/src/edoc_specs.erl
@@ -1,4 +1,4 @@
-%
+%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 1996-2011. All Rights Reserved.
@@ -428,8 +428,8 @@ get_typevars(Ts) ->
expand_records(Entries, TypeDefs, DT, Opts, File, Module) ->
TypeList = [{type_name(T), T, not_seen} || T <- TypeDefs],
true = ets:insert(DT, TypeList),
- Warn = proplists:get_value(report_missing_type, Opts,
- ?REPORT_MISSING_TYPE) =:= true,
+ Warn = proplists:get_value(report_missing_types, Opts,
+ ?REPORT_MISSING_TYPES) =:= true,
P = #parms{tab = DT, warn = Warn, file = File, line = 0},
ExportedTypes = [Name ||
{export_type,Ts} <- Module#module.attributes,