diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-26 20:38:24 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-29 10:14:26 +0000 |
commit | 424aba9be558e89b4d42554ca6a5042574e3df75 (patch) | |
tree | 98f4cfc594844015cf5716654727ca793f457f9e /src | |
parent | 36147140ce56d8d3492b971a9b6ceff97e212e01 (diff) |
[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.
Diffstat (limited to 'src')
-rwxr-xr-x | src/check-doc-syntax.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check-doc-syntax.sh b/src/check-doc-syntax.sh index abf526da..a5c84628 100755 --- a/src/check-doc-syntax.sh +++ b/src/check-doc-syntax.sh @@ -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'. |