Many fixes for script handling.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -68,7 +68,8 @@ public:
|
||||
if (isDecl) {
|
||||
// Insert the name and decl into the dictionary. Close off the decl with eof as well.
|
||||
decl[pos] = '\0';
|
||||
innerDb.Insert(ArbUt::StringView(name), ArbUt::StringView::CalculateHash(decl));
|
||||
|
||||
innerDb.Set(ArbUt::StringView(name), ArbUt::StringView::CalculateHash(decl));
|
||||
}
|
||||
// If we have found \1, we are done with the current category, so break.
|
||||
break;
|
||||
@@ -79,7 +80,7 @@ public:
|
||||
if (isDecl) {
|
||||
// Insert the name and decl into the dictionary. Close off the decl with eof as well.
|
||||
decl[pos] = '\0';
|
||||
innerDb.Insert(ArbUt::StringView(name), ArbUt::StringView::CalculateHash(decl));
|
||||
innerDb.Set(ArbUt::StringView(name), ArbUt::StringView::CalculateHash(decl));
|
||||
// Reset our position and toggle back to name.
|
||||
pos = 0;
|
||||
isDecl = false;
|
||||
@@ -101,7 +102,7 @@ public:
|
||||
}
|
||||
}
|
||||
}
|
||||
types.Insert(categoryArr[0], innerDb);
|
||||
types.Set(categoryArr[0], innerDb);
|
||||
}
|
||||
return types;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user