-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line labels with code after them are not recognized as line labels. #2636
Comments
For reference, the code is from this link, and the problem spot is here:
It appears that RD is treating the Good find! |
This is a bug in the grammar, not in the resolver. The token The problem is that the label rule is...
...but the issue seems to be that there is nothing that anchors
In this code,
Also worth noting is that VBA has some problems with this too:
|
Two warnings about use of Again: label
(1)
Variable 'Again' is used but not assigned
doubleclick points to white space left of "Dim Fname"
Function MacGetSaveAsFilenameExcel(MyInitialFilename As String, FileExtension As String)
'Ron de Bruin, 03-April-2015
'Custom function for the Mac to save the activeworkbook in the format you want.
'If FileExtension = "" you can save in the following formats : xls, xlsx, xlsm, xlsb
'You can also set FileExtension to the extension you want like "xlsx" for example
Dim FName As Variant
Dim FileFormatValue As Long
Dim TestIfOpen As Workbook
Dim FileExtGetSaveAsFilename As String
736 Again: FName = False
Maybe it's the double label? Line number 736 AND a Goto target?
(2)
delete 736 and redo Code Inspection
Now get
Variable 'Again' is never assigned
same pointing to white space
The text was updated successfully, but these errors were encountered: