Minor refactoring, as there is only one typing section.

This commit is contained in:
Patrick Lühne 2017-06-19 01:02:50 +02:00
parent df2359712f
commit 17b8306394
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -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() != ')')
{ {