Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
sarah.grebing
ProofScriptParser
Commits
c8a6f61a
Commit
c8a6f61a
authored
Nov 11, 2017
by
Alexander Weigl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lang/src/main/java/edu/kit/iti/formal/psdbg/parser/ASTTraversal.java
...in/java/edu/kit/iti/formal/psdbg/parser/ASTTraversal.java
+6
-0
rt/src/main/java/edu/kit/iti/formal/psdbg/interpreter/dbg/StateWrapper.java
...du/kit/iti/formal/psdbg/interpreter/dbg/StateWrapper.java
+2
-2
No files found.
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