[PATCH 20/49] dtoc: Split source-code scanning to a separate file