misc changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / PHPCodeScanner.java
index 9e75272..c763b3f 100644 (file)
@@ -73,7 +73,7 @@ public class PHPCodeScanner extends RuleBasedScanner {
                        "echo",
                        "var" };
 
-       private static String[] fgTypes =
+       public static String[] fgFunctionNames =
                {
                        "COM_invoke",
                        "COM_load",
@@ -2506,8 +2506,8 @@ public class PHPCodeScanner extends RuleBasedScanner {
                PHPWordRule wordRule = new PHPWordRule(new PHPWordDetector(), other);
                for (int i = 0; i < fgKeywords.length; i++)
                        wordRule.addWord(fgKeywords[i], keyword);
-               for (int i = 0; i < fgTypes.length; i++)
-                       wordRule.addWord(fgTypes[i], type);
+               for (int i = 0; i < fgFunctionNames.length; i++)
+                       wordRule.addWord(fgFunctionNames[i], type);
                for (int i = 0; i < fgConstants.length; i++)
                        wordRule.addWord(fgConstants[i], type);
                rules.add(wordRule);