Skip to content
New issue

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

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

Already on GitHub? # to your account

JmlLexer w/o expr mode #3572

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

JmlLexer w/o expr mode #3572

wants to merge 1 commit into from

Conversation

wadoon
Copy link
Member

@wadoon wadoon commented Feb 27, 2025

Intended Change

Make JMLLexer easier to understand by getting rid of the expr mode.

Type of pull request

  • Refactoring (behaviour should not change or only minimally change)

Ensuring quality

  • I have tested the feature as follows: unit-tests

@wadoon wadoon force-pushed the weigl/lexerwomodes branch from 178b07a to fa9ab56 Compare February 27, 2025 12:08
UNREACHABLE|
PURE|
RETURN_BEHAVIOR|
FINAL|
Copy link
Member

Choose a reason for hiding this comment

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

I'd say: Java keyword and thus not allowed as identifier in JML
(same for assert, return, static, strictfp, const(?), native)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants