make/tests/scripts/functions
Paul Smith e97159745d [SV 46995] Strip leading/trailing space from variable names
* makeint.h: Change MAP_SPACE to MAP_NEWLINE, and add MAP_PATHSEP
and MAP_SPACE which is now MAP_BLANK|MAP_NEWLINE.  Create
NEW_TOKEN(), END_OF_TOKEN(), ISBLANK(), ISSPACE() macros.
* main.c (initialize_stopchar_map): Set MAP_NEWLINE only for
newline characters.
* Convert all uses of isblank() and isspace() to macros.
* Examine all uses of isblank() (doesn't accept newlines) and
change them wherever possible to ISSPACE() (does accept newlines).
* function.c (func_foreach): Strip leading/trailing space.
* variable.c (parse_variable_definition): Clean up.
* tests/scripts/functions/foreach: Test settings and errors.
* tests/scripts/functions/call: Rewrite to new-style.
* tests/scripts/misc/bs-nl: Add many more tests for newlines.
2016-03-23 01:25:51 -04:00
..
abspath
addprefix
addsuffix
andor
basename
call [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
dir
error
eval
file * function.c (func_file): Support reading from files. 2016-03-21 00:44:53 -04:00
filter-out
findstring
flavor
foreach [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
guile Expand the loadable object support. 2013-02-25 01:38:36 -05:00
if
join
notdir
origin
realpath
shell [SV 28092] Preserve the exit status of the $(shell...) function. 2015-07-12 21:03:24 -04:00
sort [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
strip
substitution
suffix
value
warning
wildcard
word Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00