import generators ;
import feature ;
+import toolset : flags ;
import type ;
-import property ;
feature.feature bison.prefix : : free ;
type.register Y : y ;
{
}
-rule bison ( dst dst_header : src : properties * )
-{
- local r = [ property.select bison.prefix : $(properties) ] ;
- if $(r)
- {
- PREFIX_OPT on $(<) = -p $(r:G=) ;
- }
-}
+flags bison.bison PREFIX <bison.prefix> ;
+_ = " " ;
actions bison
{
- bison $(PREFIX_OPT) -d -o $(<[1]) $(>)
+ bison -p$(_)$(PREFIX) -d -o $(<[1]) $(>)
}