diff --git a/src/util/utility.jam b/src/util/utility.jam index aa234aad2..93a8a59a3 100644 --- a/src/util/utility.jam +++ b/src/util/utility.jam @@ -113,7 +113,7 @@ rule ungrist ( names * ) for local name in $(names) { local stripped = [ MATCH ^<(.*)>$ : $(name) ] ; - if ! $(stripped) + if ! $(stripped)-defined { import errors ; local quoted-names = \"$(names)\" ; @@ -183,6 +183,7 @@ rule __test__ ( ) assert.result \"foo\" : unquote \"\"foo\"\" ; assert.result : ungrist ; + assert.result "" : ungrist <> ; assert.result foo : ungrist ; assert.result : ungrist <> ; assert.result foo bar : ungrist ; @@ -193,12 +194,6 @@ rule __test__ ( ) } catch "in" ungrist \"\": \"\" is not of the form <.*> ; - try ; - { - ungrist <> ; - } - catch "in" ungrist \"<>\": \"<>\" is not of the form <.*> ; - try ; { ungrist foo ;