Skip to content

Conversation

@kroening
Copy link
Collaborator

This replaces the use of unsigned and assorted integer literals for the expression precedence by an enum type.

@kroening kroening marked this pull request as ready for review September 19, 2024 21:30
UNION = 10, // union
IN = 9, // in
REL = 8, // = != < > <= >=
TEMP = 7, // AX, AF, etc.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhaps spell out "TEMPORAL" on this occasion? When reading the code I found myself thinking "wait, is there some sort of temporary precedence?"

@kroening kroening force-pushed the smv-prec branch 3 times, most recently from 55e10d0 to 2a8f28f Compare September 20, 2024 14:50
This replaces the use of 'unsigned' and assorted integer literals for the
expression precedence by an enum type.
@kroening kroening merged commit db8c89a into main Sep 20, 2024
@kroening kroening deleted the smv-prec branch September 20, 2024 14:52
@kroening kroening added the SMV label Sep 20, 2024
Romy15200 pushed a commit to Romy15200/nws that referenced this pull request Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants