Skip to content

v1.4.1

Choose a tag to compare

@theodevelop theodevelop released this 31 Mar 21:45
· 59 commits to main since this release
e0c6aa4

Bug fixes

#21 — Mid-rule action blocks counted as $N symbols (Bison)

Action blocks { } embedded in the middle of a production are now counted as grammar symbols in Bison's $N numbering. Previously they were silently stripped, causing false-positive bison/out-of-bounds errors and missed real out-of-bounds accesses.

#22 — %token NAME NUMBER "alias" parsing (Bison)

%token declarations with both a numeric value and a string alias are now parsed in the correct order. Previously, words inside the alias string were misidentified as token names, generating spurious bison/undeclared-token and bison/unused-token diagnostics.

#23 — <SC>{ } block syntax (Flex)

Rules grouped inside a <SC1,SC2>{ ... } block now correctly inherit their start conditions. Previously the block header was misidentified as a rule pattern, generating false flex/unreachable-rule and flex/unused-sc diagnostics.

Assets

  • bison-flex-language-support-1.4.1.vsix — install manually via Extensions: Install from VSIX…
  • Available on VS Code Marketplace and Open VSX

What's Changed

Full Changelog: v1.4.0...v1.4.1