PaulSquires / WinFBE

FreeBASIC Editor and Visual Designer for Windows
https://www.planetsquires.com
GNU General Public License v3.0
155 stars 39 forks source link

Keyword "End" by itself will cause parser to exclude the sub/function from the functions list #52

Open PaulSquires opened 1 month ago

PaulSquires commented 1 month ago

Example code to show the problem:

Sub __quit(msg As String = "")
    db_write("(QUIT)")
    If Len(Trim(msg)) Then Beep : db_write(cTab & msg)
    set_removeImage()
    End
End Sub

Workaround:

Change End to End(0) or End(1)