Generation fix
This commit is contained in:
1 parent
6ed60a2c26
commit
edfd7fdf37
16 files changed
+108
-121
No files matched your search
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user