Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Spot
spins-ltsmin-deb
Commits
d6347952
Commit
d6347952
authored
Nov 04, 2016
by
Jeroen Meijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not add values for native LTSmin type formats anymore.
parent
3c94f62c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
src/spins/promela/compiler/ltsmin/LTSminTreeWalker.java
src/spins/promela/compiler/ltsmin/LTSminTreeWalker.java
+0
-5
No files found.
src/spins/promela/compiler/ltsmin/LTSminTreeWalker.java
View file @
d6347952
...
...
@@ -252,13 +252,8 @@ public class LTSminTreeWalker {
debug
.
say
(
MessageKind
.
FATAL
,
"Not exporting boolean type as \"bool\" (LTSmin standard)"
);
/* always add the bool type */
model
.
addType
(
VariableType
.
BOOL
.
getName
());
model
.
addTypeValue
(
VariableType
.
BOOL
.
getName
(),
"false"
,
0
);
// index 0
model
.
addTypeValue
(
VariableType
.
BOOL
.
getName
(),
"true"
,
1
);
// index 1
model
.
addType
(
GUARD_TYPE_NAME
);
model
.
addTypeValue
(
GUARD_TYPE_NAME
,
"false"
,
0
);
// index 0
model
.
addTypeValue
(
GUARD_TYPE_NAME
,
"true"
,
1
);
// index 1
model
.
addTypeValue
(
GUARD_TYPE_NAME
,
"maybe"
,
2
);
// index 2
/* Generate static list of types. mtypes have values */
for
(
LTSminSlot
slot
:
model
.
sv
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment