mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 10:18:02 +02:00
Improve doc syntax check to allow inline macro docs
This commit is contained in:
parent
00101fa716
commit
db4dbb3834
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ fi
|
|||
|
||||
enum_regexp="\([^%@']\|^\)\<\(FALSE\|TRUE\|NULL\|CAIRO_[0-9A-Z_]*\)\($\|[^(A-Za-z0-9_]\)"
|
||||
if test "x$SGML_DOCS" = x; then
|
||||
enum_regexp='^[^:]*:[/ ][*]\(\|[ \t].*\)'$enum_regexp
|
||||
enum_regexp='^[^:]*:[/ ][*]\(\|[ \t].*\)'$enum_regexp\($\|[^:]\)
|
||||
fi
|
||||
if echo $FILES | xargs grep . /dev/null | sed -e '/<programlisting>/,/<\/programlisting>/d' | grep "$enum_regexp" | grep -v '#####'; then
|
||||
stat=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue