mgalloy / idldoc

Documenting IDL code
Other
21 stars 13 forks source link

Cannot create class definition #19

Closed mgalloy closed 11 years ago

mgalloy commented 11 years ago

The following code:

;+
;  @uses utility_compile
;-

PRO context_data__define

   struct = {context_data, $
            ping_key:"", $
            recorder_key:"" , $
            target_key:"", $
            display:"" }

end

produces this error:

Parsing eti_analysis_update.pro...
IDLDOC: cannot construct definition for class context_data

I am not sure if this error is valid, or if it is why. It wasn't produced under IDLDoc2.0.

It may be due to the use of the @uses tag?? That has used with previous versions to track dependencies, but normally intended for the file level.

mgalloy commented 11 years ago

Author: jhood This is probably related to Ticket #23

mgalloy commented 11 years ago

Yes, I think this is the same issue as ticket #23. There are no warnings about fields since there were no fields tags. I'm resolving this ticket as a duplicate. Note that I also made some fixes in r436 which should address this.