Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS authored Nov 10, 2023
1 parent 6652c17 commit 915039b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rivetc/src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ def __init__(self, args):
self.checker = checker.Checker(self)
self.codegen = codegen.Codegen(self)

self.exit_code = 0

def import_modules(self):
for sf in self.parsed_files:
for decl in sf.decls:
Expand Down Expand Up @@ -147,8 +145,6 @@ def run(self):
self.codegen.gen_source_files(self.source_files)
if report.ERRORS > 0:
self.abort()
if self.exit_code != 0:
exit(self.exit_code)

def load_root_module(self):
if path.isdir(self.prefs.input):
Expand Down

0 comments on commit 915039b

Please sign in to comment.