Repository navigation
v2.2.1
·
72 commits
to main
since this release
Follows XLIDE 10.7.1, from 10.6.0. Upstream fixed how its lexer and parser read a handful of lines the VBE compiles (XLIDE issues #82 to #90), and this release takes each fix. The full list is in CHANGELOG.md.
Fixed
- What a one-line If runs after a colon belongs to the If. In
If conn Is Nothing Then ACCT = CVErr(xlErrNA): Exit Function, theExit Functionruns only whenconnis Nothing, so the next line is no longer reported as unreachable. ASet x = Nothingor anErasethere no longer makes the next line report an unset object or an unallocated array. - A comment ending in
_runs on to the next line, and a line continuation may have spaces after its_. The line after either is no longer read as code or reported for a missingThen. If x Then:is a one-line If, and the one-wordEndIfcloses a block If.1.,&17,a => banda < > bare read as the VBE reads them.s = "a" &1, which the VBE refuses, is now reported.Needs, 2is a call, so a missing required argument is reported there.Shape.Duplicatereturns a Shape andSparklineGroup.SeriesColora FormatColor, and aChartsorWorksheetscollection can be assigned to aSheetsvariable.- The command line numbers a
.clsor.frmexport's lines from the top of the file. A class module's findings printed four lines early.
Added
LoadedModule.designer_block: the export header the reader stripped ahead ofsource, so a span in the analyzed body can be placed in the file.
Changed
- A contextual keyword such as
Text,SteporOutputis a keyword token only inside the statement that makes it one, so a variable calledtextlexes as an identifier.
Verified
Upstream's own 10.7.1 test suite replays through the port identically (1081 standalone and 936 project calls), and the oracle corpus, 16 real workbooks, 195 Office files of every host and 693 further projects give identical diagnostics from both analyzers.