# HG changeset patch # User Rob Landley # Date 1374778198 18000 # Node ID 86470ea03bc53d722dd4b2b839cb3f97112ea0a9 # Parent 194acfd687557b8d5a62217d04a5d138d20092c8 Don't make a FLAG_ macro for " ", it's a control character, doing so throws the indexes off. Reported by Ashwini Sharma. diff -r 194acfd68755 -r 86470ea03bc5 scripts/make.sh --- a/scripts/make.sh Thu Jul 25 13:32:06 2013 -0500 +++ b/scripts/make.sh Thu Jul 25 13:49:58 2013 -0500 @@ -64,7 +64,7 @@ sed -n -e "s/.*TOY($FLX"',[ \t]*"\([^"]*\)"[ \t]*,.*)/\1/' \ -e 't keep;d;:keep' -e 's/^[<>=][0-9]//' -e 's/[?&^]//' \ -e 't keep' -e 's/[><=][0-9][0-9]*//g' -e 's/+.//g' \ - -e 's/\[[^]]*\]//g' -e 's/[-?^:&#|@*]//g' "$@" -e 'p' + -e 's/\[[^]]*\]//g' -e 's/[-?^:&#|@* ]//g' "$@" -e 'p' } # Extract global structure definitions and flag definitions from toys/*/*.c