From 5e56568fa59ada3c516cbf29ee1a64435f4ec4c7 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 25 Jul 2013 13:49:58 -0500 Subject: Don't make a FLAG_ macro for " ", it's a control character, doing so throws the indexes off. Reported by Ashwini Sharma. --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/make.sh') diff --git a/scripts/make.sh b/scripts/make.sh index 2a02a722..12a228eb 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -64,7 +64,7 @@ function getflags() 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 -- cgit v1.2.3