[php] Recognize "//" as eol comment

This commit is contained in:
Andreas Dangel 2023-08-24 11:58:16 +02:00
parent 8511c7b0e1
commit 41ff4beb2b
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -20,6 +20,6 @@ public class PhpLanguageModule extends CpdOnlyLanguageModuleBase {
@Override
public Tokenizer createCpdTokenizer(LanguagePropertyBundle bundle) {
return new AnyTokenizer("#");
return new AnyTokenizer("#|//");
}
}