fix format bug for elsestme and stmt def in .g4
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user