Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tla2bAST
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
tla2bAST
Commits
6907abad
Commit
6907abad
authored
6 months ago
by
Jan Gruteser
Browse files
Options
Downloads
Patches
Plain Diff
minor changes
made by mistake
parent
7b6fb1ef
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/de/tla2b/config/ConfigfileEvaluator.java
+1
-1
1 addition, 1 deletion
src/main/java/de/tla2b/config/ConfigfileEvaluator.java
src/main/java/de/tla2b/config/ModuleOverrider.java
+1
-1
1 addition, 1 deletion
src/main/java/de/tla2b/config/ModuleOverrider.java
with
2 additions
and
2 deletions
src/main/java/de/tla2b/config/ConfigfileEvaluator.java
+
1
−
1
View file @
6907abad
...
@@ -166,7 +166,7 @@ public class ConfigfileEvaluator {
...
@@ -166,7 +166,7 @@ public class ConfigfileEvaluator {
TLAType
symbolType
=
conGetType
(
symbol
.
lastElement
());
TLAType
symbolType
=
conGetType
(
symbol
.
lastElement
());
if
(
constants
.
containsKey
(
symbolName
))
{
if
(
constants
.
containsKey
(
symbolName
))
{
OpDeclNode
c
=
constants
.
get
(
symbolName
);
OpDeclNode
c
=
constants
.
get
(
symbolName
);
constantAssignments
.
put
(
c
,
new
TLCValueNode
(
symbolValue
,
symbolType
,
null
));
constantAssignments
.
put
(
c
,
new
TLCValueNode
(
symbolValue
,
symbolType
,
c
.
getTreeNode
()
));
// if conValue is a model value and the name of the value is the
// if conValue is a model value and the name of the value is the
// same as the name of constants, then the constant declaration
// same as the name of constants, then the constant declaration
// in the resulting B machine disappears
// in the resulting B machine disappears
...
...
This diff is collapsed.
Click to expand it.
src/main/java/de/tla2b/config/ModuleOverrider.java
+
1
−
1
View file @
6907abad
...
@@ -71,7 +71,7 @@ public class ModuleOverrider extends BuiltInOPs {
...
@@ -71,7 +71,7 @@ public class ModuleOverrider extends BuiltInOPs {
case
LetInKind:
{
case
LetInKind:
{
LetInNode
l
=
(
LetInNode
)
n
;
LetInNode
l
=
(
LetInNode
)
n
;
for
(
OpDefNode
let
:
l
.
getLets
())
{
for
(
OpDefNode
let
:
l
.
getLets
())
{
visitExpr
OrOpArg
Node
(
let
.
getBody
());
visitExprNode
(
let
.
getBody
());
}
}
OpApplNode
res
=
visitExprNode
(
l
.
getBody
());
OpApplNode
res
=
visitExprNode
(
l
.
getBody
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment