diff --git a/v2/tools/types/cpp.jam b/v2/tools/types/cpp.jam index defa3e566..3159cdd77 100644 --- a/v2/tools/types/cpp.jam +++ b/v2/tools/types/cpp.jam @@ -69,10 +69,10 @@ class c-scanner : scanner scanner.register c-scanner : include ; -type CPP : cpp cxx cc ; -type H : h ; -type HPP : hpp : H ; -type C : c ; +type.register CPP : cpp cxx cc ; +type.register H : h ; +type.register HPP : hpp : H ; +type.register C : c ; # It most cases where a CPP file or a H file is a source of some action, we # should rebuild the result if any of files included by CPP/H are changed. One diff --git a/v2/tools/types/objc.jam b/v2/tools/types/objc.jam index f8d31c072..709cbd0c7 100644 --- a/v2/tools/types/objc.jam +++ b/v2/tools/types/objc.jam @@ -20,7 +20,7 @@ class objc-scanner : c-scanner scanner.register objc-scanner : include ; -type OBJECTIVE_C : m ; -type OBJECTIVE_CPP : mm ; +type.register OBJECTIVE_C : m ; +type.register OBJECTIVE_CPP : mm ; type.set-scanner OBJECTIVE_C : objc-scanner ; type.set-scanner OBJECTIVE_CPP : objc-scanner ;