Minor refactoring, as there is only one typing section.
This commit is contained in:
parent
df2359712f
commit
17b8306394
@ -59,9 +59,9 @@ void parseAndAddPrimitiveTypeDeclarations(Context &context, ast::Domain &domain)
|
|||||||
tokenizer.skipWhiteSpace();
|
tokenizer.skipWhiteSpace();
|
||||||
|
|
||||||
auto &types = domain.types;
|
auto &types = domain.types;
|
||||||
|
assert(types.empty());
|
||||||
|
|
||||||
std::vector<bool> flaggedTypes;
|
std::vector<bool> flaggedTypes;
|
||||||
flaggedTypes.resize(types.size(), false);
|
|
||||||
|
|
||||||
while (tokenizer.currentCharacter() != ')')
|
while (tokenizer.currentCharacter() != ')')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user