Further work on highlighting issue

This commit is contained in:
Manindra Moharana
2014-04-05 01:23:08 +05:30
parent 912ef278d9
commit 9308c84cdf
2 changed files with 82 additions and 1 deletions

View File

@@ -1678,7 +1678,12 @@ public class ASTGenerator {
ASTNode simpName2 = getNodeName(decl,nameOfNode);
logE("FINAL String decl: " + getNodeAsString(decl));
logE("FINAL String label: " + getNodeAsString(simpName2));
errorCheckerService.highlightNode(simpName2);
//errorCheckerService.highlightNode(simpName2);
ASTNodeWrapper declWrap = new ASTNodeWrapper(simpName2,nodeLabel);
errorCheckerService.highlightNode(declWrap);
// if (!declWrap.highlightNode(this)) {
// logE("Highlighting failed.");
// }
}
return new ASTNodeWrapper(decl,nodeLabel);