aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_parser.yrl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2011-08-02 13:11:23 +0200
committerHenrik Nord <[email protected]>2011-08-04 11:27:00 +0200
commit403d462964b773516a99726129ea8dcdcc9a96f5 (patch)
tree2a27d637402666c82236878b7a077a9183578936 /lib/edoc/src/edoc_parser.yrl
parent07936436b8a8b18b80451a09e040283ebecbd43b (diff)
downloadotp-403d462964b773516a99726129ea8dcdcc9a96f5.tar.gz
otp-403d462964b773516a99726129ea8dcdcc9a96f5.tar.bz2
otp-403d462964b773516a99726129ea8dcdcc9a96f5.zip
synchronized with edoc development version
Diffstat (limited to 'lib/edoc/src/edoc_parser.yrl')
-rw-r--r--lib/edoc/src/edoc_parser.yrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/edoc/src/edoc_parser.yrl b/lib/edoc/src/edoc_parser.yrl
index 6943f1bdb8..43d444cdde 100644
--- a/lib/edoc/src/edoc_parser.yrl
+++ b/lib/edoc/src/edoc_parser.yrl
@@ -362,10 +362,10 @@ parse_spec(S, L) ->
{ok, Spec} ->
Spec;
{error, E} ->
- throw_error(E, L)
+ throw_error({parse_spec, E}, L)
end;
{error, E, _} ->
- throw_error(E, L)
+ throw_error({parse_spec, E}, L)
end.
%% ---------------------------------------------------------------------