mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-02-15 13:50:32 +01:00
[check] Search for the word NOTE
Add word boundary markers around the regexp so that we only match for the word NOTE and not on substrings like GL_NOTEQUAL.
This commit is contained in:
parent
36147140ce
commit
424aba9be5
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ if echo $FILES | xargs grep . /dev/null | sed -e '/<programlisting>/,/<\/program
|
|||
echo " '$func_regexp'"
|
||||
fi >&2
|
||||
|
||||
note_regexp='NOTE'
|
||||
note_regexp='\<NOTE\>'
|
||||
if echo $FILES | xargs grep "$note_regexp" /dev/null; then
|
||||
stat=1
|
||||
echo Error: some source files contain the string 'NOTE'.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue