edoc: infinite loop

Taylor Venable taylor@REDACTED
Sun Jan 30 04:01:58 CET 2011


Hi there, the following seems to produce an infinite loop in edoc
(version 0.7.6.8):

%% START FILE
%% @doc
%% ```

%% text
%% '''

-module(test).
-export([foo/0]).

foo() -> ok.
%% END FILE

Example usage:

Erlang R14B01 (erts-5.8.2) [source] [64-bit] [smp:2:2] [rq:2]
[async-threads:0] [hipe] [kernel-poll:false]

Eshell V5.8.2  (abort with ^G)
1> edoc:run([], ['test.erl'], [{dir, doc}, {hidden, true}, {private, true}]).

Also, I found a thread from September 2009 indicating that edoc does
not support UTF-8 documentation in files; is this still true? (The
thread is http://erlang.2086793.n4.nabble.com/UTF8-and-EDoc-td2088002.html
- I get an error similar to that of the OP when trying to use UTF-8
encoded documentation in my own files with the invocation for edoc:run
above.)

Thanks,

--
Taylor C. Venable
http://metasyntax.net/


More information about the erlang-questions mailing list