forked from phoedos/pmd
[python] Support comment based CPD suppressions
This commit is contained in:
@@ -33,7 +33,11 @@ SKIP :
|
||||
| "\014"
|
||||
| <CONTINUATION: ("\\") ("\r\n"|"\n"|"\r")>
|
||||
| <NEWLINE: ("\r\n"|"\n"|"\r")>
|
||||
| <TRAILING_COMMENT: "#" (~["\n","\r"])* >
|
||||
}
|
||||
|
||||
SPECIAL_TOKEN :
|
||||
{
|
||||
<TRAILING_COMMENT: "#" (~["\n","\r"])* >
|
||||
}
|
||||
|
||||
TOKEN : /* SEPARATORS */
|
||||
|
||||
Reference in New Issue
Block a user