Skip to content

v1.5.4

Choose a tag to compare

@github-actions github-actions released this 07 Nov 19:34
· 24 commits to main since this release
  • Add support for true and false boolean literals in if conditions and macro arguments.
    • true evaluates to 0x01, false evaluates to 0x00.
    • Example: if (true) { 0xAA } else { 0xBB }
  • Fix macro argument scoping bug where parameters leaked across macro boundaries (fixes #139).
    • Macros can no longer access parameters from parent scopes unless explicitly passed.
    • Example: If M1(arg) calls M2() without passing arg, then M2 cannot use <arg>.
  • Fix nested macro invocation resulted in stack overflow (fixes #140).
    • Example: M1(M1(M1(<a>)))