Skip to content

Preprocess elseif constructs#60

Merged
Schlevidon merged 6 commits intopublicfrom
preprocess-elseif
Apr 13, 2026
Merged

Preprocess elseif constructs#60
Schlevidon merged 6 commits intopublicfrom
preprocess-elseif

Conversation

@Schlevidon
Copy link
Copy Markdown
Collaborator

Summary

  • IFDIFF can now properly handle the elseif keyword being used in a RHS by transforming elseif blocks into semantically equivalent if-else blocks.
  • The elseif keyword appearing in a helper function is also handled.
  • An elseif block can still be ignored just like any other if block.
  • Appropriate tests for the new functionality were added.

Related Issues

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using figure(1), figure(2) etc. instead of repeated figure calls to avoid opening multiple windows.

@Schlevidon Schlevidon merged commit b397199 into public Apr 13, 2026
@Schlevidon Schlevidon deleted the preprocess-elseif branch April 13, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preprocess elseif constructs correctly

2 participants