[c] Lexical header in C-header file from Linux #4217
Labels
a:bug
PMD crashes or fails to analyse a file.
needs:pmd7-revalidation
The issue hasn't yet been retested vs PMD 7 and may be stale
Language: C
PMD Version: 6.51.0
Description:
When running CPD (with --language c) PMD raises a lexical error.
The input file can be retrieved from:
https://github.com/torvalds/linux/blob/master/arch/arc/include/asm/entry-arcv2.h
Exception Stacktrace:
Problem:
The tokenizer fails on the single quote in the following fragment (see doesn't really matter):
Steps to reproduce:
The text was updated successfully, but these errors were encountered: