projects
/
repair.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small changes to allow:
[repair.git]
/
Repair
/
RepairCompiler
/
MCC
/
IR
/
SemanticChecker.java
diff --git
a/Repair/RepairCompiler/MCC/IR/SemanticChecker.java
b/Repair/RepairCompiler/MCC/IR/SemanticChecker.java
index
108a883
..
af4aa96
100755
(executable)
--- a/
Repair/RepairCompiler/MCC/IR/SemanticChecker.java
+++ b/
Repair/RepairCompiler/MCC/IR/SemanticChecker.java
@@
-1099,7
+1099,7
@@
public class SemanticChecker {
dCurrentType = type;
// parse the labels and fields
dCurrentType = type;
// parse the labels and fields
- if (!parse_labelsandfields(pn.getChild("lf"))) {
+ if (
pn.getChild("lf")!=null &&
!parse_labelsandfields(pn.getChild("lf"))) {
ok = false;
}
ok = false;
}