]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/tools/build/src/tools/lex.jam
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / tools / build / src / tools / lex.jam
index 75d641318c72432dc19f1708b2010ee8d4fa3f9d..e85d1d1adf3f2c5cc30a329630f8eedf6ea93caf 100644 (file)
@@ -5,8 +5,7 @@
 import type ;
 import generators ;
 import feature ;
-import property ;
-
+import toolset : flags ;
 
 feature.feature flex.prefix : : free ;
 type.register LEX : l ;
@@ -18,14 +17,7 @@ rule init ( )
 {
 }
 
-rule lex ( target : source : properties * )
-{   
-    local r = [ property.select flex.prefix : $(properties) ] ;
-    if $(r)
-    {
-        PREFIX on $(<) = $(r:G=) ;
-    }
-}
+flags lex.lex PREFIX <flex.prefix> ;
 
 actions lex 
 {