fix format bug for elsestme and stmt def in .g4

This commit is contained in:
Downright
2025-03-05 13:43:27 +08:00
parent 6f51e76804
commit 51ed88f761
4 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@ using namespace std;
namespace sysy {
any SysYIRGenerator::visitModule(SysYParser::ModuleContext *ctx) {
any SysYIRGenerator::visitCompUnit(SysYParser::CompUnitContext *ctx) {
// create the IR module
auto pModule = new Module();
assert(pModule);