Exclude parenthesized function declarations such as NORETURN
Fixes https://github.com/ruby/ruby/pull/3883
This commit is contained in:
parent
b53ccb9c69
commit
288e93bea8
@ -572,7 +572,7 @@ class RDoc::Parser::C < RDoc::Parser
|
|||||||
((?>/\*.*?\*/\s*)?)
|
((?>/\*.*?\*/\s*)?)
|
||||||
((?:(?:\w+)\s+)?
|
((?:(?:\w+)\s+)?
|
||||||
(?:intern\s+)?VALUE\s+(\w+)
|
(?:intern\s+)?VALUE\s+(\w+)
|
||||||
\s*(?:\([^)]*\))(?:[^;]|$))
|
\s*(?:\([^)]*\))(?:[^\);]|$))
|
||||||
| ((?>/\*.*?\*/\s*))^\s*(\#\s*define\s+(\w+)\s+(\w+))
|
| ((?>/\*.*?\*/\s*))^\s*(\#\s*define\s+(\w+)\s+(\w+))
|
||||||
| ^\s*\#\s*define\s+(\w+)\s+(\w+)
|
| ^\s*\#\s*define\s+(\w+)\s+(\w+)
|
||||||
}xm) do
|
}xm) do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user