Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-08-05 09:08:32


On 08/04/2007 09:19 PM, Larry Evans wrote:
> On 08/03/2007 01:15 AM, Rene Rivera wrote:
> [snip]
>> And also...
>>
>> http://www.boost.org/doc/html/jam/language.html#jam.language.rules
>
> This is inconsistent because it includes, at:
>
> http://www.boost.org/doc/html/jam/language.html#jam.language.rules
>
> the rule syntax (which is missing the arg list):
>
> rule rulename { statements }
>
[snip]

This .html file apparently is produced from:

   boost/tools/jam/doc/bjam.qbk

applying the following diff would solve the problem
(although I haven't actually tried it):

*** bjam.qbk 2007/08/05 12:48:23 1.1
--- bjam.qbk 2007/08/05 12:52:14
***************
*** 521,527 ****
   Define a rule's procedure, replacing any previous definition.

   [pre
! rule /rulename/ { /statements/ }
   ]

   Define a rule's updating actions, replacing any previous definition.
--- 521,527 ----
   Define a rule's procedure, replacing any previous definition.

   [pre
! rule /rulename/ ( /param1/ : /param2/ : /.../ : /paramN/ ) {
/statements/ }
   ]

   Define a rule's updating actions, replacing any previous definition.


Boost-Build 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