]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/tools/bison.jam
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / tools / build / src / tools / bison.jam
index 0689d4bd893f99192882c17e42d6ed7d46ec9ccd..96b86a327c95bc103decb9a96ae12780ef39fc3f 100644 (file)
@@ -4,8 +4,8 @@
 
 import generators ;
 import feature ;
+import toolset : flags ;
 import type ;
-import property ;
 
 feature.feature bison.prefix : : free ;
 type.register Y : y ;
@@ -17,16 +17,10 @@ rule init ( )
 {
 }
 
-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]) $(>)
 }