Boost logo

Boost-Build :

From: John Reid (j.reid_at_[hidden])
Date: 2007-05-11 09:17:33


Vladimir Prus wrote:
>
> Does your generator takes .gl files as input, or as output?

I may have misunderstood but I think these lines register the generator
to take gp and gl as input?

generators.register [ new antlr-generator antlr.parser : GP : CPP HPP ] ;
generators.register [ new antlr-generator antlr.lexer : GL : CPP HPP ] ;

> If it takes them as input, this behaviour is expected:
>
> lexer.gl/<antrl-name>SimpleLexer
>
> builds lexer.gl adding the specified property to build request.

> If this is just file, then any properties in build request have
> no effect.
What do you mean "if this is just file" : you mean if lexer.gl is just a
file? By no effect you mean that the <antlr-name>SimpleLexer property is
not passed on?

Thanks,
John.


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