Skip to content

Commit

Permalink
Add NEQ, GEQ, LEQ to parser
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-weber committed May 22, 2024
1 parent 78e1110 commit 780692f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/codegen/PolyAlgParser.jj
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ TOKEN :
| <RBRACK: "]">
| <SEP: ",">
| <EQUALS: "=">
| <NEQ: "<>"> | <GEQ: ">="> | <LEQ: "<=">
| <PLUS: "+">
| <MINUS: "-">
| <COLON: ":">
Expand Down Expand Up @@ -355,7 +356,7 @@ PolyAlgLiteral Literal() :
|
t = <SYMBOL>
|
t = <EQUALS> | t = <PLUS> | t = <MINUS>
t = <EQUALS> | t = <NEQ> | t = <GEQ> | t = <LEQ> | t = <PLUS> | t = <MINUS>
|
t = <DIR> {type = LiteralType.DIRECTION;} | t = <NULL_DIR> {type = LiteralType.NULL_DIRECTION;}
|
Expand Down

0 comments on commit 780692f

Please sign in to comment.