From 766d0f0b20d672e90f2672c6b4b9a441497f5ea5 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Sat, 6 Aug 2011 16:55:07 +0200 Subject: updated author e-mail --- lib/edoc/src/edoc_parser.yrl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/edoc/src/edoc_parser.yrl') diff --git a/lib/edoc/src/edoc_parser.yrl b/lib/edoc/src/edoc_parser.yrl index 3ce4cde4fb..2871846c04 100644 --- a/lib/edoc/src/edoc_parser.yrl +++ b/lib/edoc/src/edoc_parser.yrl @@ -22,7 +22,7 @@ %% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 %% USA %% -%% Author contact: richardc@it.uu.se +%% Author contact: carlsson.richard@gmail.com %% ===================================================================== Nonterminals @@ -255,7 +255,7 @@ throws -> etype where_defs: %% "%% USA" %% "%%" %% "%% @private" -%% "%% @author Richard Carlsson " +%% "%% @author Richard Carlsson " %% "%% ====================================================================" %% . -- cgit v1.2.3 From 823f01895f33e559d737880d9207054a20dcc2f8 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Fri, 23 Sep 2011 22:19:10 +0200 Subject: removed some never-matching clauses reported by dialyzer --- lib/edoc/src/edoc_parser.yrl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'lib/edoc/src/edoc_parser.yrl') diff --git a/lib/edoc/src/edoc_parser.yrl b/lib/edoc/src/edoc_parser.yrl index 2871846c04..4d6428f75b 100644 --- a/lib/edoc/src/edoc_parser.yrl +++ b/lib/edoc/src/edoc_parser.yrl @@ -455,8 +455,6 @@ parse_throws(S, L) -> -spec throw_error(term(), erl_scan:line()) -> no_return(). -throw_error({L, M, D}, _L0) -> - throw({error,L,{format_error,M,D}}); throw_error({parse_spec, E}, L) -> throw_error({"specification", E}, L); throw_error({parse_typedef, E}, L) -> @@ -468,7 +466,4 @@ throw_error({parse_throws, E}, L) -> throw_error(parse_param, L) -> throw({error, L, "missing parameter name"}); throw_error({Where, E}, L) when is_list(Where) -> - throw({error,L,{"unknown error parsing ~s: ~P.",[Where,E,15]}}); -throw_error(E, L) -> - %% Just in case. - throw({error,L,{"unknown parse error: ~P.",[E,15]}}). + throw({error,L,{"unknown error parsing ~s: ~P.",[Where,E,15]}}). -- cgit v1.2.3