# HG changeset patch # User wight # Date 1109673885 0 # Node ID c90a84da69f1587c0dad3d8ccb1b134bfb31fe45 # Parent 765cd05bb6c394f62efaeaa73ebe333cb11fc278 We should match end of token as well, to prevent MSGTR_FOO2 matching instead of MSGTR_FOO. Helps compilation in case of some changes to help*.h files. diff -r 765cd05bb6c3 -r c90a84da69f1 help/help_diff.sh --- a/help/help_diff.sh Tue Mar 01 09:29:18 2005 +0000 +++ b/help/help_diff.sh Tue Mar 01 10:44:45 2005 +0000 @@ -11,7 +11,7 @@ while read -r line; do if echo "$line" | grep '^#define' > /dev/null 2>&1; then curr=`echo "$line" | cut -d ' ' -f 2` - if grep "^#define $curr" $1 > /dev/null 2>&1; then + if grep "^#define $curr[ ]" $1 > /dev/null 2>&1; then curr="" fi else