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

Boost Build cleanup - errors.backtrace rule no longer displays an extra empty line if asked to list user modules only and there are no user modules in the current call stack.

[SVN r79904]
This commit is contained in:
Jurko Gospodnetić
2012-08-07 13:09:31 +00:00
parent 43a5588bcd
commit bb58317939

View File

@@ -23,7 +23,10 @@ rule backtrace ( skip-frames prefix messages * : * )
if $(.user-modules-only)
{
local bt = [ nearest-user-location ] ;
ECHO "$(prefix) at $(bt) " ;
if $(bt)
{
ECHO "$(prefix) at $(bt) " ;
}
for local n in $(args)
{
if $($(n))-is-defined