Interesting quirk in IDLdoc (3.5.0) [message #81613] |
Fri, 05 October 2012 13:20 |
tom.grydeland
Messages: 51 Registered: September 2012
|
Member |
|
|
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
|
|
|