From 424aba9be558e89b4d42554ca6a5042574e3df75 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 26 Nov 2008 20:38:24 +0000 Subject: [PATCH] [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. --- src/check-doc-syntax.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check-doc-syntax.sh b/src/check-doc-syntax.sh index abf526dad..a5c846283 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 '//,/<\/program echo " '$func_regexp'" fi >&2 -note_regexp='NOTE' +note_regexp='\' if echo $FILES | xargs grep "$note_regexp" /dev/null; then stat=1 echo Error: some source files contain the string 'NOTE'.