Repository navigation
v1.4.1
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 viaExtensions: Install from VSIX…- Available on VS Code Marketplace and Open VSX
What's Changed
- chore: new version 1.4.0 by @theodevelop in #20
- fix/issues-21-22-23 by @theodevelop in #24
- chore: github files by @theodevelop in #25
- fix: resolve issues #21 #22 #23 — mid-rule actions, %token alias, flex SC blocks by @theodevelop in #26
Full Changelog: v1.4.0...v1.4.1