Erlang/OTP Forums

Author Message

<  Erlang bugs mailing list  ~  Edoc bug

vladdu
Posted: Fri Jun 03, 2005 7:40 am Reply with quote
User Joined: 28 Feb 2005 Posts: 397 Location: Gothenburg, Sweden
Hi,

I noticed that if I use the _at_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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Post generated using Mail2Forum (http://m2f.sourceforge.net)
View user's profile Send private message
richardc at csd.uu.se
Posted: Fri Jun 03, 2005 8:44 am Reply with quote
Guest
Vlad Dumitrescu wrote:
> I noticed that if I use the _at_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 Smile
>
> 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


Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum