Skip to content

Commit

Permalink
Merge pull request #8816 from WalterBright/ptrntab.d
Browse files Browse the repository at this point in the history
convert ptrntab.c to D
  • Loading branch information
andralex authored Oct 17, 2018
2 parents 4db3aca + 874f000 commit cea352b
Show file tree
Hide file tree
Showing 6 changed files with 5,864 additions and 5,836 deletions.
5 changes: 4 additions & 1 deletion src/dmd/backend/iasm.d
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,8 @@ enum

version (SCPP)
{
enum OP_DB
alias OP_DB = int;
enum
{
// These are the number of bytes
OPdb = 1,
Expand Down Expand Up @@ -464,6 +465,7 @@ struct PTRNTAB0 {
}

union PTRNTAB {
void *ppt;
PTRNTAB0 *pptb0;
PTRNTAB1 *pptb1;
PTRNTAB2 *pptb2;
Expand All @@ -473,6 +475,7 @@ union PTRNTAB {

struct OP
{
const(char)* str; // opcode string
ubyte usNumops;
PTRNTAB ptb;
}
Expand Down
Loading

0 comments on commit cea352b

Please sign in to comment.