diff options
| author | randomdan <randomdan@localhost> | 2013-12-22 18:04:28 +0000 | 
|---|---|---|
| committer | randomdan <randomdan@localhost> | 2013-12-22 18:04:28 +0000 | 
| commit | 1be87375db2ecaae54020e9723973f96e90c4668 (patch) | |
| tree | 6ba5140e4bd6ad0fea5613f6b13f7cdcf99961f4 | |
| parent | Fix up some RSS odds and ends, thanks validator (diff) | |
| download | gentoobrowse-1be87375db2ecaae54020e9723973f96e90c4668.tar.bz2 gentoobrowse-1be87375db2ecaae54020e9723973f96e90c4668.tar.xz gentoobrowse-1be87375db2ecaae54020e9723973f96e90c4668.zip | |
Fix slice scanner and split .ice files back into logical blocks
| -rw-r--r-- | Jamroot.jam | 24 | 
1 files changed, 2 insertions, 22 deletions
| diff --git a/Jamroot.jam b/Jamroot.jam index 1f58848..e0e750e 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -18,31 +18,11 @@ import feature ;  import "class" : new ;   import scanner ;   type.register SLICE : ice ;  -class slice-scanner : scanner  +class slice-scanner : common-scanner  {  -    import path property-set regex scanner type virtual-target ;  -    rule __init__ ( includes * )  -    {  -        scanner.__init__ ;  -        self.includes = $(includes) ;  -    }       rule pattern ( )       {  -        return "^[ \t]*#[ \t]*include[ ]*(<(.*)>|\"(.*)\")" ;  -    }  -    rule process ( target : matches * : binding )  -    {  -        local included = [ regex.transform $(matches) : "\"(.*)\"" : 1 ] ;  -        local g = [ on $(target) return $(HDRGRIST) ] ;  -        local b = [ NORMALIZE_PATH $(binding:D) ] ;  -        local g2 = $(g)"#"$(b) ;  -        included = $(included:G=$(g2)) ;  -        #this seems to add the dependency ok to the tree, but  -        #I can't get these new dependencies to build  -        #I've seen virtual-target.register but I don't have access to properties  -        #and project names to do that here.  -        INCLUDES $(target) : $(included) ;  -        scanner.propagate $(__name__) : $(matches) : $(target) ;  +        return "^[ \t]*#[ \t]*include[ ]*[<\"]([^>\"]*)[>\"]" ;       }   }   scanner.register slice-scanner : include ;  | 
