Edoc bug
Richard Carlsson
richardc@REDACTED
Fri Jun 3 10:26:37 CEST 2005
Vlad Dumitrescu wrote:
> I noticed that if I use the @hidden tag without any test after it, it
> isn't recognized by edoc. Adding a space after it make it work, but it's
> easy to forget :-)
>
> I believe the cause is to be found in edoc_tags:scan_tag_2, where there
> should also be a
> scan_tag_2([$\r | Cs], Ss, L, As, T) ->
> scan_tag_lines(Ss, T, [Cs], L + 1, As);
> clause, allowing for files with Windows line endings.
>
> best regards,
> Vlad
(I forgot to cc the list in my initial reply to Vlad.)
Thanks for the report; I obviously never thought for a
second of Windows line breaks (can't they be universally
banned or something?) when I wrote edoc, so I should
have a closer look at all the scanning code.
/Richard
More information about the erlang-bugs
mailing list