engine crates: 50 modules renamed for what they hold (the *_methods, *_and_*, *_sdet, *_types and qwen4exp_* names), exceptions and script paths follow
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
5b84cd2cf8
commit
4e0bb1dd98
@@ -332,7 +332,7 @@ class Crate:
|
||||
m = re.match(rf"(?:pub(?:\s*\([^)]*\))?\s+)?mod\s+({IDENT})\s*;", t)
|
||||
if m:
|
||||
child_name = m.group(1)
|
||||
path_attr = next((re.search(r'path\s*=\s*"([^"]+)"', a) for a in attrs if "path" in a), None)
|
||||
path_attr = next((m for m in (re.match(r'#\[path\s*=\s*"([^"]+)"', a) for a in attrs) if m), None)
|
||||
if path_attr:
|
||||
cand = [(file.parent / path_attr.group(1)).resolve()]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user