Ticket #67 (closed defect: fixed)

Opened 18 months ago

Last modified 16 months ago

Parsing fails when header follows a routine header

Reported by: msu Owned by: mgalloy
Priority: minor Milestone:
Component: parsing Version: 3.2
Keywords: Cc:

Description

Hi,

I'm just starting to use IDLdoc, so it might well be that this is not intended to work in the first place. The following happens: If I have a routine header spanning over more than one single line and preceding the comment block IDLdoc fails to parse the header correctly (i.e., the HTML output contains no comments at all).

The working (mini) example:

PRO fnProcessData, grCommon, xmlObj
;+                                                                                                   
;   read auxilliary data, main data, calculate daily and monthly                                     
;   (or annual, seasonal) statistics, write results in ascii file for                                
;   plotting or further processing.                                                                  
;                                                                                                    
; :Params:                                                                                           
;    grCommon : in, required, type="structure"                                                       
;      global variables                                                                              
;    xmlObj : in, required, type="object"                                                            
;      full XML object                                                                               
;-

The non working example:

PRO fnProcessData, grCommon, $
                   xmlObj
;+                                                                                                   
;   read auxilliary data, main data, calculate daily and monthly                                     
;   (or annual, seasonal) statistics, write results in ascii file for                                
;   plotting or further processing.                                                                  
;                                                                                                    
; :Params:                                                                                           
;    grCommon : in, required, type="structure"                                                       
;      global variables                                                                              
;    xmlObj : in, required, type="object"                                                            
;      full XML object                                                                               
;
;-

On the other hand, if I put the routine header below the comment block it does work again:

;+                                                                                                   
;   read auxilliary data, main data, calculate daily and monthly                                     
;   (or annual, seasonal) statistics, write results in ascii file for                                
;   plotting or further processing.                                                                  
;                                                                                                    
; :Params:                                                                                           
;    grCommon : in, required, type="structure"                                                       
;      global variables                                                                              
;    xmlObj : in, required, type="object"                                                            
;      full XML object                                                                               
;
;-
PRO fnProcessData, grCommon, $
                   xmlObj

Change History

Changed 16 months ago by mgalloy

  • status changed from new to closed
  • resolution set to fixed

Fixed in r713.

Note: See TracTickets for help on using tickets.