Greg is correct about the syntax errors. I don't think Eclipse would show the squiggly lines because it is not technically a syntax violation.

if(condition);
is the same as:
if(condition) {
;...