Skip to content

Commit 3244152

Browse files
committed
int changed to long to support long scripts
1 parent 7ca6747 commit 3244152

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DevExport/ClassScript-Project.vb

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Type ScriptFunction
1717
Name As String
1818
IsSub As Boolean
1919
Params() As Param
20-
StartIndex As Integer
21-
EndIndex As Integer
20+
StartIndex As Long
21+
EndIndex As Long
2222
Content As String
2323
ClassName As String
2424
ReturnType As String
@@ -97,7 +97,7 @@ Public Function ParseScript(ByVal Script As String, Optional ByVal ClassName As
9797
r.Pattern = "^(?:Public |Private )?(Sub|Function) (.*?)\((.*?)\)\s*(?: As (.+?))?$((?:.|\n)*?)End \1"
9898
Set Matches = r.Execute(Script)
9999

100-
Dim MatchIndex As Integer, sf As ScriptFunction, ScriptFunctions As New Dictionary
100+
Dim MatchIndex As Long, sf As ScriptFunction, ScriptFunctions As New Dictionary
101101
For MatchIndex=0 To Matches.Count-1
102102
sf=NewScriptFunction(Matches(MatchIndex))
103103
sf.ClassName=ClassName

Project/DevMenu.fpr

1 Byte
Binary file not shown.

0 commit comments

Comments
 (0)