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 108a88379b46e48f20e31bdcb3351b849073004a..af4aa96f735965afc163e8f8476aea5e86be3ff8 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
- if (!parse_labelsandfields(pn.getChild("lf"))) {
+ if (
pn.getChild("lf")!=null &&
!parse_labelsandfields(pn.getChild("lf"))) {
ok = false;
}