Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sarah.grebing
ProofScriptParser
Commits
c8a6f61a
Commit
c8a6f61a
authored
Nov 11, 2017
by
Alexander Weigl
Browse files
fix compiler error
parent
78ce89f7
Pipeline
#15309
passed with stages
in 8 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lang/src/main/java/edu/kit/iti/formal/psdbg/parser/ASTTraversal.java
View file @
c8a6f61a
...
...
@@ -194,4 +194,10 @@ public interface ASTTraversal<T> extends Visitor<T> {
defCase
.
getBody
().
accept
(
this
);
return
null
;
}
@Override
default
T
visit
(
FunctionCall
func
)
{
func
.
getArguments
().
forEach
(
a
->
a
.
accept
(
this
));
return
null
;
}
}
rt/src/main/java/edu/kit/iti/formal/psdbg/interpreter/dbg/StateWrapper.java
View file @
c8a6f61a
...
...
@@ -124,7 +124,7 @@ public class StateWrapper<T> implements InterpreterObserver<T> {
@Override
public
Void
defaultVisit
(
ASTNode
node
)
{
LOGGER
.
error
(
"enter {}"
,
node
.
accept
(
new
ShortCommandPrinter
()));
LOGGER
.
debug
(
"enter {}"
,
node
.
accept
(
new
ShortCommandPrinter
()));
createNormalNode
(
node
);
return
null
;
}
...
...
@@ -136,7 +136,7 @@ public class StateWrapper<T> implements InterpreterObserver<T> {
@Override
public
Void
visit
(
ProofScript
proofScript
)
{
LOGGER
.
error
(
"enter {}"
,
proofScript
.
accept
(
new
ShortCommandPrinter
()));
LOGGER
.
debug
(
"enter {}"
,
proofScript
.
accept
(
new
ShortCommandPrinter
()));
if
(
root
)
{
createRoot
(
proofScript
);
root
=
false
;
...
...
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