comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Interesting quirk in IDLdoc (3.5.0)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Interesting quirk in IDLdoc (3.5.0) [message #81610] Fri, 05 October 2012 16:53 Go to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 10/5/12 5:50 PM, Michael Galloy wrote:
> IDLdoc counts begin/end's and that $ probably confused it. Not sure why
> the TWO routine is found, but the header is not. Will have to take a
> look at it.

I confirm it is a bug, here's the ticket:

http://idldoc.idldev.com/ticket/87

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
Re: Interesting quirk in IDLdoc (3.5.0) [message #81611 is a reply to message #81610] Fri, 05 October 2012 16:50 Go to previous messageGo to next message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 10/5/12 2:20 PM, tom.grydeland@gmail.com wrote:
> I spent a couple of hours this friday evening tracking down why all my RST comments in one file disappeared, and I could not see anything wrong with my comments.
>
> I managed to whittle it down to this, the smallest case that reproduces the behaviour.
> IDL has no problem with the extra $ after 'begin', but it seems to upset IDLdoc tremedously.
>
> ; ------------------ >8 -----------
> ;+
> ; One description
> ;-
> pro one
> if 1 then begin $ ; remove the dollar on this line to restore sanity
> print, "hello, "
> endif
> end
>
> ;+
> ; This description (and everything from here on) disappears
> ;-
> pro two
> print, " world!"
> end
>

IDLdoc counts begin/end's and that $ probably confused it. Not sure why
the TWO routine is found, but the header is not. Will have to take a
look at it.

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
Re: Interesting quirk in IDLdoc (3.5.0) [message #81683 is a reply to message #81610] Mon, 08 October 2012 15:29 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 10/5/12 5:53 PM, Michael Galloy wrote:
> On 10/5/12 5:50 PM, Michael Galloy wrote:
>> IDLdoc counts begin/end's and that $ probably confused it. Not sure why
>> the TWO routine is found, but the header is not. Will have to take a
>> look at it.
>
> I confirm it is a bug, here's the ticket:
>
> http://idldoc.idldev.com/ticket/87

Fixed in r846. Check out the trunk if you want to try it out:

svn co http://svn.idldev.com/idldoc/trunk idldoc

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Research Mathematician
Tech-X Corporation
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Help with WV_CWT
Next Topic: Re: IDL 8.2 Installation Woes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:15:41 PDT 2025

Total time taken to generate the page: 0.00647 seconds