1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / parser / Parser.java
index 8b3f682..cef140f 100644 (file)
@@ -3130,6 +3130,17 @@ public class Parser implements ITerminalSymbols, CompilerModifiers,
                                        }
                                        break;
 
+                               case STATIC:
+                                       getNextToken ();
+                                       if (token == TokenName.PAAMAYIM_NEKUDOTAYIM) {
+                                               getNextToken ();
+                                               expr_without_variable (only_variable, initHandler, bColonAllowed);
+                                       }
+                                       else {
+                                               throwSyntaxError("Error in expression (Expected '::' after 'static').");
+                                       }
+                                       break;
+                                                                               
                                default:
                                        if (token != TokenName.INLINE_HTML) {
                                                if (token.compareTo (TokenName.KEYWORD) > 0) {