[Scripter]
* BUG: Cleanup unused parameters in Process Use statement
This commit is contained in:
parent
72b257e859
commit
e9f841ded0
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,5 @@
|
|||
* Sun Mar 21 2021 benoit <benoit@localhost> 3.15.90
|
||||
|
||||
* Sat Mar 20 2021 benoit <benoit@localhost> 3.15.90
|
||||
|
||||
* Thu Mar 18 2021 benoit <benoit@localhost> 3.15.90
|
||||
|
|
|
@ -188,7 +188,7 @@ Private Sub TokenizeFile(SourceBuffer As String)
|
|||
'' check for inclusion of Components or libraries
|
||||
Else If symbols[0] = "USE"
|
||||
If symbols.count >= 2 Then
|
||||
ProcessUse(symbols, types, sLine)
|
||||
ProcessUse(sLine)
|
||||
Continue
|
||||
Else
|
||||
CompileError(cIncludeStack.last, CurrentLineNumber.last, "USE statement without component or library definitions")
|
||||
|
@ -284,7 +284,7 @@ Public Sub ProcessClass(name As String, Start As Integer, DefLine As Integer, Op
|
|||
Return cDef
|
||||
End
|
||||
|
||||
Public Sub ProcessUse(Symbols As String[], aTypes As Integer[], sLine As String)
|
||||
Public Sub ProcessUse(sLine As String)
|
||||
|
||||
Warning("Use :" & File.Name(cIncludeStack.last & "." & CurrentLineNumber.last & ":" & sLine))
|
||||
UseLibComp(cIncludeStack.last, CurrentLineNumber.last, sLine)
|
||||
|
|
Loading…
Reference in a new issue