What's Changed
-
Extended unions (#102 by @engineerjoe440) should now parse correctly:
TYPE THING EXTENDS THING_BASE: UNION {attribute 'hide' := 'true'} As_THING_BASE : THING_BASE; END_UNION
-
Enumerated default values defined by function calls (#104 by @engineerjoe440) should now parse:
{attribute 'qualified_only'} {attribute 'to_string'} TYPE color : ( off := ANY_TO_DINT(someColor.off), red := ANY_TO_DINT(someColor.red), green := ANY_TO_DINT(someColor.green) ) DINT;
-
Fixed support for multiple structure member variable declarations in the same line (#105), for example:
TYPE someStruct : STRUCT AlertTimer, SignalBadTimer, QualityBadTimer : library.TPUDO; END_STRUCT END_TYPE
The dataclasses and relevant summary versions have been updated to accommodate this.
-
Fixed a class of issues related to blark's lax whitespace handling, where things such as variable names could be unintentionally interpreted as reserved keywords (#107)
Full Changelog: v0.8.1...v0.8.2