Added TestCase for PHP with Comment and
[phpeclipse.git] / net.sourceforge.phpeclipse / src / test / PHPParserTokenManager.java
index 18ddad9..bffc8ef 100644 (file)
@@ -6,7 +6,6 @@ import org.eclipse.core.runtime.CoreException;
 import org.eclipse.ui.texteditor.MarkerUtilities;
 import org.eclipse.jface.preference.IPreferenceStore;
 import java.util.Hashtable;
-import java.util.ArrayList;
 import java.util.Enumeration;
 import java.io.StringReader;
 import java.io.*;
@@ -14,6 +13,7 @@ import java.text.MessageFormat;
 import net.sourceforge.phpeclipse.actions.PHPStartApacheAction;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 import net.sourceforge.phpdt.internal.compiler.parser.*;
+import net.sourceforge.phpdt.internal.compiler.ast.*;
 
 public class PHPParserTokenManager implements PHPParserConstants
 {
@@ -1444,7 +1444,8 @@ static private final int jjMoveNfa_1(int startState, int curPos)
                      jjCheckNAddStates(13, 20);
                   break;
                case 38:
-                  jjCheckNAddStates(33, 36);
+                  if ((0xfffffffbffffffffL & l) != 0L)
+                     jjCheckNAddStates(33, 36);
                   break;
                case 39:
                   if (curChar == 34)
@@ -1459,7 +1460,8 @@ static private final int jjMoveNfa_1(int startState, int curPos)
                      kind = 80;
                   break;
                case 45:
-                  jjCheckNAddStates(37, 40);
+                  if ((0xfffffffbffffffffL & l) != 0L)
+                     jjCheckNAddStates(37, 40);
                   break;
                case 46:
                   if (curChar == 34)
@@ -1584,7 +1586,8 @@ static private final int jjMoveNfa_1(int startState, int curPos)
                   jjCheckNAddTwoStates(35, 6);
                   break;
                case 38:
-                  jjCheckNAddStates(33, 36);
+                  if ((0xd7ffffffffffffffL & l) != 0L)
+                     jjCheckNAddStates(33, 36);
                   break;
                case 40:
                   if (curChar == 92)
@@ -1602,7 +1605,8 @@ static private final int jjMoveNfa_1(int startState, int curPos)
                      jjCheckNAddStates(33, 36);
                   break;
                case 45:
-                  jjCheckNAddStates(37, 40);
+                  if ((0xd7ffffffffffffffL & l) != 0L)
+                     jjCheckNAddStates(37, 40);
                   break;
                case 47:
                   if (curChar == 92)