#37 UDT parsing assumes no newline characters present

open
nobody
None
5
2008-05-24
2008-05-24
Daniel
No

If a user type is declared:

''
' Test user type.
'
' @param Id Id of Action
' @param ActionName Name of Action
' @remarks Test user type.
Private Type udtActionInfo

Id As Integer

ActionName As String

End Type

then when trying to generate the documentation the 'ERROR: Cannot find parameter' message is encountered.

This does not occur if the user type is declared:

''
' Test user type.
'
' @param Id Id of Action
' @param ActionName Name of Action
' @remarks Test user type.
Private Type udtActionInfo
Id As Integer
ActionName As String
End Type

Note, the only difference between the two declarations is the newline characters between each user type member - i.e. newline characters exist between the 'Private Type' and 'End Type' declarations.

Discussion