Ticket #1 (closed defect: fixed)
Incorrect handling of VB6 functions that have an array as an argument
| Reported by: | anonymous | Owned by: | sevo |
|---|---|---|---|
| Priority: | major | Component: | doxyvb |
| Version: | 2.2 | Keywords: | |
| Cc: |
Description
vbfilter.awk seems to get confused by the brackets in arguments
' -------------------------------------------------------------------
Test Code that breaks vbfilter
' -------------------------------------------------------------------
Attribute VB_Name = "tmp"
' -------------------------------------------------------------------
Public Function vbfilter_fails (ByRef? hex_arry() As Integer) As String
vbfilter_fails = ""
End Function
' -------------------------------------------------------------------
Public Function vbfilter_ok (ByRef? hex_arry As Integer) As String
vbfilter_ok = ""
End Function
' -------------------------------------------------------------------
vbfilter incorrectly does the following conversion
00001 / @file tmp.bas
00002
00003 namespace Blank_VB {
00004 public Function Integer) vbfilter_fails (ByRef? hex_arry() As String ;
00005 public Function String vbfilter_ok (ByRef? Integer hex_arry) ;
00006 }
