Skip to content

v1.5.2

Choose a tag to compare

@github-actions github-actions released this 05 Nov 12:31
· 34 commits to main since this release
92f2934
  • Add compile-time if/else if/else statements.
    • Example: if ([MODE] == 0x01) { 0xAA } else if ([MODE] == 0x02) { 0xBB } else { 0xCC }
  • Fix constant substitution failing when referencing builtin functions (fixes #122).
    • Example: #define constant C1 = __RIGHTPAD(0x) and #define constant C2 = [C1] now works correctly.
    • Applies to all builtin functions: __FUNC_SIG, __EVENT_HASH, __RIGHTPAD, __LEFTPAD, __BYTES.
  • Fix nested macro invocation argument scoping issue (fixes #123).
    • The compiler now properly searches through the entire invocation stack to resolve argument names.