Ticket #1 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

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 }

Change History

comment:1 Changed 9 months ago by sevo

  • Status changed from new to accepted

comment:2 Changed 9 months ago by sevo

  • Status changed from accepted to closed
  • Resolution set to fixed

[37] by sevo on 2011-05-31 18:07:19
  • fixed array function results
[36] by sevo on 2011-05-30 19:54:33
  • fixed array handling
  • added arrays to .NET example
  • fixed some typos


Last edited 9 months ago by sevo (previous) (diff)
Note: See TracTickets for help on using tickets.