cl: supports decl: <param>

This commit is contained in:
Li Jie
2024-06-06 10:59:35 +08:00
parent 3ecb43072d
commit 15fad2e841
4 changed files with 25 additions and 13 deletions

View File

@@ -105,6 +105,8 @@ func pkgKind(v string) (int, string) {
return PkgLinkExtern, v[5:]
} else if strings.HasPrefix(v, "py.") { // "py.<module>"
return PkgPyModule, v[3:]
} else if strings.HasPrefix(v, "decl:") { // "decl: <param>"
return PkgDeclOnly, v[5:]
}
}
return PkgLLGo, ""