Skip to content

Commit

Permalink
switch to GOALxxxx
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jan 17, 2013
1 parent 9bdee2f commit 558d5dd
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 85 deletions.
10 changes: 6 additions & 4 deletions src/backend/blockopt.c
@@ -1,5 +1,5 @@
// Copyright (C) 1986-1997 by Symantec
// Copyright (C) 2000-2010 by Digital Mars
// Copyright (C) 2000-2013 by Digital Mars
// All Rights Reserved
// http://www.digitalmars.com
// Written by Walter Bright
Expand Down Expand Up @@ -92,13 +92,15 @@ block *block_calloc()
goal_t bc_goal[BCMAX];

void block_init()
{ int i;

for (i = 0; i < BCMAX; i++)
{
for (size_t i = 0; i < BCMAX; i++)
bc_goal[i] = GOALvalue;

bc_goal[BCgoto] = GOALnone;
bc_goal[BCret ] = GOALnone;
bc_goal[BCexit] = GOALnone;

bc_goal[BCiftrue] = GOALflags;
}

//////////////////////////////////
Expand Down

0 comments on commit 558d5dd

Please sign in to comment.