Skip to content

Conversation

@SSlinky
Copy link
Owner

@SSlinky SSlinky commented Sep 28, 2024

Enums were broken when declaring Private Enum LongPtr. This is used as faux type when working with VBA6 so that types are consistent in code, e.g.

#If VBA7 Then
  Private Declare PtrSafe Function GetDesktopWindow Lib "user32" () As LongPtr
#Else
  Private Enum LongPtr
    [_]
  End Enum
  Private Declare Function GetDesktopWindow Lib "user32" () As LongPtr
#End If

Fixes #19

@SSlinky SSlinky merged commit af1fc05 into master Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Parser breaks on declares by ordinal

2 participants