feat(lang): friend module lab of fishing, data - a friend of the modules it names
A scoped friend sees those modules' private names and only the exports of every other; a plain friend module still sees everything. Reseed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
f4533331e7
commit
70d05bd504
8 changed files with 41388 additions and 41329 deletions
|
|
@ -61,7 +61,11 @@ function mod_parse_friend() -> void {
|
|||
pi += 2
|
||||
let fm = eat_id()
|
||||
module_set(g_parse_file, fm)
|
||||
let scope = ""
|
||||
var scope = ""
|
||||
if is_id("of") {
|
||||
pi += 1
|
||||
scope = mod_parse_names()
|
||||
}
|
||||
push(g_mod_friends, fm)
|
||||
push(g_fr_scope, scope)
|
||||
}
|
||||
|
|
|
|||
41338
selfhost/ludicc.seed.ll
41338
selfhost/ludicc.seed.ll
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue