# HG changeset patch # User ib # Date 1391177185 0 # Node ID 55f218d04dd3eaa16650c013093f8db5395d6d39 # Parent 7d250553d4519d7b92b50a8351a6029e291cdcc1 Remove pointless pair of parentheses. It will detect #define statements having no replacement text without the second pair of parentheses just as well. Thanks to al for spotting it. diff -r 7d250553d451 -r 55f218d04dd3 help/help_check.sh --- a/help/help_check.sh Thu Jan 30 13:26:45 2014 +0000 +++ b/help/help_check.sh Fri Jan 31 14:06:25 2014 +0000 @@ -16,7 +16,7 @@ #include "$h" void $CHECK () { EOF - sed -n "s:^[ \t]*#define[ \t]\+\([0-9A-Za-z_]\+\)\(.*\):strdup(\1);:p" "$h" >> ${CHECK}.c + sed -n "s:^[ \t]*#define[ \t]\+\([0-9A-Za-z_]\+\).*:strdup(\1);:p" "$h" >> ${CHECK}.c echo "}" >> ${CHECK}.c $CC -Werror -c -o ${CHECK}.o ${CHECK}.c || exit done