Skip to content

Commit

Permalink
ogma-language-cocospec: Add NE operator to CoCoSpec grammar. Refs #71.
Browse files Browse the repository at this point in the history
Requirements that contain inequalities in conditions in the TL formulas
fail to be parsed correctly by Ogma.

This commit modifies the CoCoSpec grammar so that inequality is supported by
the language.
  • Loading branch information
ivanperez-keera committed Feb 1, 2023
1 parent 1da5b94 commit aa32090
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ogma-language-cocospec/grammar/CoCoSpec.cf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ NumOp2Minus. NumOp2In ::= "-" ;
NumOp2Mult . NumOp2In ::= "*" ;

BoolNumOp2Eq . BoolNumOp ::= "=" ;
BoolNumOp2Ne . BoolNumOp ::= "<>" ;
BoolNumOp2Le . BoolNumOp ::= "<=" ;
BoolNumOp2Lt . BoolNumOp ::= "<" ;
BoolNumOp2Gt . BoolNumOp ::= ">" ;
Expand Down

0 comments on commit aa32090

Please sign in to comment.