chore: checkpoint web Blender migration source, tools and docs
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer,
web workflow engine and protocol, tooling, docs and task records.
Large generated evidence, user-testing archives, build snapshots and
imported test assets remain untracked.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
mes123456
2026-11-10 11:18:01 +08:00
parent 122142c26c
commit f3e21c6b98
6887 changed files with 257154 additions and 12294 deletions

View File

@@ -94,7 +94,8 @@ void SourceProcessor::lower_enums(Parser &parser)
if (class_tok.is_valid()) {
name = enum_name_str + "::" + name;
}
string decl = "constant static constexpr " + type_str + " " + name + " " + value + ";\n";
string decl = "constant static constexpr " + type_str + " " + name + " = " + type_str +
"(" + value.substr(1) + ");\n";
parser.insert_line_number(enum_tok.prev(), name_tok.line_number());
parser.insert_after(enum_tok.prev(), decl);

View File

@@ -38,7 +38,7 @@ struct Scope {
Scope(const ParserBase &parser, int64_t index) : parser_(&parser), index_(index)
{
if (index < 0 || index >= parser.scope_types.size()) {
index = parser.scope_types.size();
index_ = parser.scope_types.size();
return;
}
#ifndef NDEBUG