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 Fix make.h preprocessor directive to work better with Windows compilers. 2005-08-29 14:11:00 +00:00
addprefix
addsuffix
andor - New code capability: a read-only string cache. Start of solution for 2006-02-10 05:29:00 +00:00
basename
call [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
dir
error Fix Savannah bug #106: keep separate track of which variable we are 2006-02-15 23:54:42 +00:00
eval New special variable: .RECIPEPREFIX 2007-11-04 21:54:00 +00:00
file * function.c (func_file): Support reading from files. 2016-03-21 00:44:53 -04:00
filter-out Fix Savannah bug #35410: handle escape chars in filter/filter-out 2012-03-03 22:12:46 +00:00
findstring
flavor Implemented the flavor function which returns the flavor of 2005-11-17 07:27:28 +00:00
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 Numerous updates to tests for issues found on Cygwin and Windows. 2006-03-10 02:20:45 +00:00
realpath Release GNU make 3.81. 2006-04-01 06:36:40 +00:00
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 Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)), 2004-09-21 04:00:31 +00:00
suffix
value
warning Fix Savannah bug #106: keep separate track of which variable we are 2006-02-15 23:54:42 +00:00
wildcard Inverted the boolean test from what I wanted it to be. Added a 2011-05-07 14:36:11 +00:00
word Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines. 2012-03-04 00:24:20 +00:00