From 067f596822b80b2786ce2bb895a593d479516cad Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Mon, 31 Jul 2017 15:05:30 +0200 Subject: First shot at the handling of regular expressions. --- instr-to-kodkod/parser/PropertyLexer.g4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'instr-to-kodkod/parser/PropertyLexer.g4') diff --git a/instr-to-kodkod/parser/PropertyLexer.g4 b/instr-to-kodkod/parser/PropertyLexer.g4 index 64fccb0..ec01c88 100644 --- a/instr-to-kodkod/parser/PropertyLexer.g4 +++ b/instr-to-kodkod/parser/PropertyLexer.g4 @@ -12,7 +12,9 @@ TAG_EXISTING_KW: '(tag_existing' SEP; AND_OPERATOR_KW: '(and' SEP; OR_OPERATOR_KW: '(or' SEP; NOT_OPERATOR_KW: '(not' SEP ; -IMPLIES_OPERATOR_KW: '(implies' SEP ; +IMPLIES_OPERATOR_KW: '(implies' SEP; + +REGEX_SPECIAL_PREDICATE_KW: '(string_matches' SEP; EXISTS_OPERATOR_KW: '(exists' SEP; FORALL_OPERATOR_KW: '(forall' SEP; -- cgit v1.2.3-70-g09d2