Skip to content

Commit

Permalink
move initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Sep 7, 2011
1 parent 5c236d7 commit 0d20ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mars.c
Expand Up @@ -897,8 +897,6 @@ int main(int argc, char *argv[])
Module::init();
initPrecedence();

backend_init();

if (global.params.verbose)
{ printf("binary %s\n", argv[0]);
printf("version %s\n", global.version);
Expand Down Expand Up @@ -1176,6 +1174,8 @@ int main(int argc, char *argv[])
if (global.errors)
fatal();

backend_init();

// Do semantic analysis
for (size_t i = 0; i < modules.dim; i++)
{
Expand Down

0 comments on commit 0d20ff8

Please sign in to comment.