[erlang-questions] edoc: error in doclet 'edoc_doclet' when using macro in -type

Frans Schneider schneider@REDACTED
Thu Oct 22 17:14:53 CEST 2015


Great, got it working more or less, however now I hit another error.

./src/test.erl: at line 23: can't find include file "gpb.hrl"
edoc: skipping source file './src/test.erl': {'EXIT',error}.
edoc: error in doclet 'edoc_doclet': {'EXIT',error}.

"gdb" is in the deps directory. Get the error both with and without the 
skip_deps=true option.

TIA

Frans

On 10/22/2015 03:56 PM, Sean Cribbs wrote:
> Yes, use the 'preprocess' option when running edoc. It's exposed in 
> rebar like so:
>
> {edoc_opts, [{preprocess, true}]}.
>
> On Tue, Oct 20, 2015 at 4:23 AM, Frans Schneider <schneider@REDACTED 
> <mailto:schneider@REDACTED>> wrote:
>
>     Hi list,
>
>     When I use
>
>     -type id() :: ?MIN_KEM_ID..?MAX_KEM_ID.
>
>     instead of
>
>     -type id() :: 0..16#ffff.
>
>     I get the error "edoc: error in doclet 'edoc_doclet'".
>
>     Is there a work around for this?
>
>     Thanks,
>
>     Frans
>     _______________________________________________
>     erlang-questions mailing list
>     erlang-questions@REDACTED <mailto:erlang-questions@REDACTED>
>     http://erlang.org/mailman/listinfo/erlang-questions
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20151022/824ab7e5/attachment.htm>


More information about the erlang-questions mailing list