Skip to content

Commit

Permalink
Fixed copy-pasta in deferred parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
dobios committed Jul 24, 2024
1 parent 4a6d635 commit a5b6f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/FIRRTL/Import/FIRParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5237,7 +5237,7 @@ ParseResult FIRCircuitParser::parseFormal(CircuitOp circuit, unsigned indent) {
auto &body = formal.getBody().emplaceBlock();

// Defer the parsing of the body
deferredModules.emplace_back(
deferredBodies.emplace_back(
DeferredBodyToParse{body, getLexer().getCursor(), indent});

// Skip to the end of the body
Expand Down

0 comments on commit a5b6f2a

Please sign in to comment.