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 * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
addsuffix * Various fixes for problems in the 3.79.0.1 pretest. 2000-06-19 21:22:44 +00:00
andor - New code capability: a read-only string cache. Start of solution for 2006-02-10 05:29:00 +00:00
basename * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
call [SV 46995] Strip leading/trailing space from variable names 2016-03-23 01:25:51 -04:00
dir * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
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 * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
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 Fix bugs 5798 and 6195. 2003-11-04 07:40:29 +00:00
join * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
notdir * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
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 * Various bug fixes. 2000-04-22 02:11:17 +00:00
substitution Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)), 2004-09-21 04:00:31 +00:00
suffix * Added the test suite to the main distribution. 1999-09-14 02:03:19 +00:00
value Major updates in preparation for 3.80. 2002-07-08 02:26:47 +00:00
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