|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-06-08 15:56:22
Author: jurko
Date: 2008-06-08 15:56:22 EDT (Sun, 08 Jun 2008)
New Revision: 46255
URL: http://svn.boost.org/trac/boost/changeset/46255
Log:
Minor stylistic Boost Build script changes.
Text files modified:
trunk/tools/build/v2/kernel/errors.jam | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/kernel/errors.jam
==============================================================================
--- trunk/tools/build/v2/kernel/errors.jam (original)
+++ trunk/tools/build/v2/kernel/errors.jam 2008-06-08 15:56:22 EDT (Sun, 08 Jun 2008)
@@ -6,6 +6,7 @@
# Print a stack backtrace leading to this rule's caller. Each argument
# represents a line of output to be printed after the first line of the
# backtrace.
+#
rule backtrace ( skip-frames prefix messages * : * )
{
local frame-skips = 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 ;
@@ -71,6 +72,7 @@
# message matched expectations.
# Begin looking for error messages.
+#
rule try ( )
{
.disabled += true ;
@@ -80,6 +82,7 @@
# Stop looking for error messages; generate an error if an argument of messages
# is not found in the corresponding argument in the error call.
+#
rule catch ( messages * : * )
{
.disabled = $(.disabled[2-]) ; # Pop the stack.
@@ -134,6 +137,7 @@
# Print an error message with a stack backtrace and exit.
+#
rule error ( messages * : * )
{
if $(.no-error-backtrace)
@@ -184,6 +188,7 @@
# elements representing the same information. This is mostly useful for
# formatting descriptions of arguments with which a rule was called when
# reporting an error.
+#
rule lol->list ( * )
{
local result ;
@@ -205,6 +210,7 @@
# Return the file:line for the nearest entry in backtrace which correspond to a
# user module.
+#
rule nearest-user-location ( )
{
local bt = [ BACKTRACE ] ;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk