From a00e8143b5d8401a6aed97d8c8a2044a6057be5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jurko=20Gospodneti=C4=87?= Date: Wed, 8 Aug 2012 14:37:06 +0000 Subject: [PATCH] Updated Boost Build's errors.jam module to have its rules support more than 9 parameters (up to 19 currently supported by Boost Jam). [SVN r79922] --- v2/kernel/errors.jam | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/v2/kernel/errors.jam b/v2/kernel/errors.jam index e59c00ddf..2c061aa65 100644 --- a/v2/kernel/errors.jam +++ b/v2/kernel/errors.jam @@ -63,7 +63,7 @@ rule backtrace ( skip-frames prefix messages * : * ) } } -.args ?= messages 2 3 4 5 6 7 8 9 ; +.args ?= messages 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ; .disabled ?= ; .last-error-$(.args) ?= ; @@ -170,7 +170,8 @@ rule error ( messages * : * ) else { error-skip-frames 3 $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : - $(8) : $(9) ; + $(8) : $(9) : $(10) : $(11) : $(12) : $(13) : $(14) : $(15) : $(16) + : $(17) : $(18) : $(19) ; } } @@ -181,7 +182,8 @@ rule user-error ( messages * : * ) { .user-modules-only = 1 ; error-skip-frames 3 $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : - $(9) ; + $(9) : $(10) : $(11) : $(12) : $(13) : $(14) : $(15) : $(16) : $(17) : + $(18) : $(19) ; } @@ -190,7 +192,8 @@ rule user-error ( messages * : * ) rule warning { backtrace 2 warning: $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8) : - $(9) ; + $(9) : $(10) : $(11) : $(12) : $(13) : $(14) : $(15) : $(16) : $(17) : + $(18) : $(19) ; } @@ -202,7 +205,7 @@ rule warning rule lol->list ( * ) { local result ; - local remaining = 1 2 3 4 5 6 7 8 9 ; + local remaining = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ; while $($(remaining)) { local n = $(remaining[1]) ;