Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 277 named / type defined enums #404

Merged
merged 5 commits into from
Dec 7, 2021

Commits on Dec 5, 2021

  1. allow datatype & initilaization for enums

    myEnum : INT (a:=3, b, c, d:= 77, e, f);
    riederm committed Dec 5, 2021
    Configuration menu
    Copy the full SHA
    c846aa1 View commit details
    Browse the repository at this point in the history
  2. make enums comparable and castable

    fixes #390
    riederm committed Dec 5, 2021
    Configuration menu
    Copy the full SHA
    22fa9a8 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2021

  1. Enum value resolution

    riederm committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    150f79a View commit details
    Browse the repository at this point in the history
  2. pre-proc creates expl assignments for enums elements

    enum elements get explicit assignments so we can safely assume
    an Assignment-Statement with an initial value for every
    enum element.
    riederm committed Dec 6, 2021
    Configuration menu
    Copy the full SHA
    cdc2026 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ad9e792 View commit details
    Browse the repository at this point in the history