2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Deal with the fact that the old jam can't parse the new stuff.

[SVN r11420]
This commit is contained in:
Dave Abrahams
2001-10-23 00:43:20 +00:00
parent ecf138e926
commit 529b7bbfe0
2 changed files with 2 additions and 34 deletions

View File

@@ -1384,23 +1384,7 @@ rule split-path
# account for.
if $(NEW_BOOST_JAM) {
rule split ( string separator )
{
local result ;
local s = $(string) ;
while $(s)
{
local match = [ SUBST $(s) (.*)$(separator)(.*) $1 $2 ] ;
local tail = $(match[2]) ;
tail ?= $(s) ;
result = $(tail) $(result) ;
s = $(match[1]) ;
}
return $(result) ;
}
include new-split.jam ; # this is temporary.
} else {

View File

@@ -1384,23 +1384,7 @@ rule split-path
# account for.
if $(NEW_BOOST_JAM) {
rule split ( string separator )
{
local result ;
local s = $(string) ;
while $(s)
{
local match = [ SUBST $(s) (.*)$(separator)(.*) $1 $2 ] ;
local tail = $(match[2]) ;
tail ?= $(s) ;
result = $(tail) $(result) ;
s = $(match[1]) ;
}
return $(result) ;
}
include new-split.jam ; # this is temporary.
} else {