Avoid NPE for "mark occurences"
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / parser / Parser.java
index f79075c..69dfdcf 100644 (file)
@@ -757,10 +757,10 @@ public class Parser implements ITerminalSymbols, CompilerModifiers, ParserBasicI
                        expressionList();
                        if (token == TokenNameSEMICOLON) {
                                getNextToken();
-                               if (token != TokenNameINLINE_HTML) {
-                                       // TODO should this become a configurable warning?
-                                       reportSyntaxError("Probably '?>' expected  after PHP short tag expression (only the first expression will be echoed).");
-                               }
+//                             if (token != TokenNameINLINE_HTML) {
+//                                     // TODO should this become a configurable warning?
+//                                     reportSyntaxError("Probably '?>' expected  after PHP short tag expression (only the first expression will be echoed).");
+//                             }
                        } else {
                                if (token != TokenNameINLINE_HTML) {
                                        throwSyntaxError("';' expected after PHP short tag '<?=' expression.");