From 95b8a6a9e36d44f41eb76cffc2a0ddf62bc0b802 Mon Sep 17 00:00:00 2001 From: Jiger Patel Date: Wed, 14 May 2003 07:56:53 +0000 Subject: [PATCH] Added C/C++ & PHP support in CPD. git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1919 51baf565-9d33-0410-a72c-fc3788e3496d --- .../sourceforge/pmd/jedit/PMDJEditPlugin.java | 35 ++++++++++++++++--- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java b/pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java index d62917a3e4..1d05ebe3a4 100644 --- a/pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java +++ b/pmd-jedit/src/net/sourceforge/pmd/jedit/PMDJEditPlugin.java @@ -16,6 +16,8 @@ import net.sourceforge.pmd.RuleViolation; import net.sourceforge.pmd.cpd.CPD; import net.sourceforge.pmd.cpd.FileFinder; import net.sourceforge.pmd.cpd.JavaLanguage; +import net.sourceforge.pmd.cpd.PHPLanguage; +import net.sourceforge.pmd.cpd.CPPLanguage; import net.sourceforge.pmd.cpd.Mark; import net.sourceforge.pmd.cpd.Match; import org.gjt.sp.jedit.Buffer; @@ -113,8 +115,8 @@ public class PMDJEditPlugin extends EditPlugin { for (int i=0; i