summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-25 12:48:44 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-25 12:48:44 +0200
commit4669bdf7046c03200a28de4188075bee69571eb8 (patch)
tree97ff430a177d257be7e11d1392f3894d27de2f63 /data/property/CNE_01100.pro
parent0fc661ebabdf55b8e0d26c4f85f0547c106b6549 (diff)
Updates Tests, fixes 2 properties & inferred/*.mod
Diffstat (limited to 'data/property/CNE_01100.pro')
-rw-r--r--data/property/CNE_01100.pro35
1 files changed, 13 insertions, 22 deletions
diff --git a/data/property/CNE_01100.pro b/data/property/CNE_01100.pro
index 6ed2cff..ad94747 100644
--- a/data/property/CNE_01100.pro
+++ b/data/property/CNE_01100.pro
@@ -2,28 +2,19 @@
(
(pt port CNE_01100_BAD_NAME)
)
- (exists pt2 port
- (and
-;; Goes into infinity:
-;; (has_mode pt2 _)
-;; (has_mode pt2 "in")
-;; Fixes all:
- (eq pt2 pt)
- (not
- (or
- (and
- (string_matches [identifier pt] "^i_.*")
- (has_mode pt "in")
- )
- (and
- (string_matches [identifier pt] "^o_.*")
- (has_mode pt "out")
- )
- (and
- (string_matches [identifier pt] "^b_.*")
- (has_mode pt "inout")
- )
- )
+ (not
+ (or
+ (and
+ (string_matches [identifier pt] "^i_.*")
+ (has_mode pt "in")
+ )
+ (and
+ (string_matches [identifier pt] "^o_.*")
+ (has_mode pt "out")
+ )
+ (and
+ (string_matches [identifier pt] "^b_.*")
+ (has_mode pt "inout")
)
)
)