1 # Copyright 2003 Vladimir Prus
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
10 feature.feature bison.prefix : : free ;
12 type.register YY : yy ;
13 generators.register-standard bison.bison : Y : C H ;
14 generators.register-standard bison.bison : YY : CPP HPP ;
20 rule bison ( dst dst_header : src : properties * )
22 local r = [ property.select bison.prefix : $(properties) ] ;
25 PREFIX_OPT on $(<) = -p $(r:G=) ;
31 bison $(PREFIX_OPT) -d -o $(<[1]) $(>)