Generation fix

This commit is contained in:
Borna Rajković committed 2022-06-27 11:39:13 +02:00
1 parent 6ed60a2c26
commit edfd7fdf37
16 files changed
+108 -121

No files matched your search

+1 -1
View File
@@ -408,7 +408,7 @@ struct WireNode : public AstNode {
bool hidden = false;
/** If wire isn't connected to anything it is replaced with terminate with terminateWith value */
bool hasTerminateWith;
bool hasTerminateWith = false;
ValueNode terminateWith;
};
+2 -2
View File
@@ -74,7 +74,7 @@ PError ComdelParser::unexpected() {
} else {
ss << ": ";
}
uint token_counter = 0;
unsigned int token_counter = 0;
for (auto &type: expectedTokens) {
if (type == TokenType::IDENTIFIER ||
type == TokenType::NUMBER ||
@@ -1365,4 +1365,4 @@ PResult<ValueNode> ComdelParser::parseConnectionWire() {
} else {
return unexpected();
}
}
}