Grammar changes
-
IDENTIFIERwill no longer match certain reserved keywords. -
Fixed a variety of scenarios where additional semicolons are acceptable in TwinCAT.
-
EXTENDSnow supports a list of bases (function blocks, interfaces, structures, unions) -
Function block variable declarations now also support
VAR_INST -
END_INTERFACEis now optional. -
Dual access specifiers are now supported for
PROPERTY:PROPERTY PRIVATE p_fActValue : LREAL PROTECTED END_PROPERTYHere,
PROTECTEDis theaccess_overridewhich overrides the defaultPRIVATE.
Fixes
- Boolean literals were parsed as
IDENTIFIERterminals rather thanboolean_literalinstances. - End positions of comments and pragmas as retrieved from tokens in
ParseResult.commentswere off by one. Fixed bothToken.end_posandToken.end_column. blark.summary: Case insensitive access of variable namesblark.summary: Consolidates getters/setters into a single summaryblark.summary: Addedimplementation_sourceto more classesblark.summary: Fixes for handling multiple baseextends- Better handling for determining POU types from XML and plain code
- Outdated GitHub Actions workflows are now running again
Pull Requests
- CI/FIX: deprecated actions by @klauer in #112
- Fix end position of comments and pragmas by @klauer in #113
- Fix end positions of comments and pragmas by @alajovic in #110
- Increase priority of constant rule in grammar (#108) by @alajovic in #114
- Adding on to #111 by @klauer in #116
- Some fixes by @DenSinH in #111
New Contributors
Thank you, @alajovic and @DenSinH!
Full Changelog: v0.8.2...v0.8.3