Skip to content

Commit

Permalink
Merge pull request #21 from jpoirier/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jpoirier authored Jan 17, 2018
2 parents bb3c5ef + f84bf50 commit a97d94f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,11 @@ the functions it defines. For example:
```C
struct LibraryFunction PlatformLibrary[] =
{
ShowComplex, "void ShowComplex(struct complex *)"},
Cpeek, "int peek(int, int)"},
Cpoke, "void poke(int, int, int)"},
Crandom, "int random(int)"},
NULL, NULL}
{ShowComplex, "void ShowComplex(struct complex *)"},
{Cpeek, "int peek(int, int)"},
{Cpoke, "void poke(int, int, int)"},
{Crandom, "int random(int)"},
{NULL, NULL}
};
```

Expand Down
6 changes: 0 additions & 6 deletions expression.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,12 +1088,6 @@ void ExpressionInfixOperator(struct ParseState *Parser,
break;
case TokenShiftLeft:
ResultInt = BottomInt << TopInt;
/*
if (BottomValue->Typ->Base == TypeUnsignedInt || BottomValue->Typ->Base == TypeUnsignedLong)
ResultInt = (uint64_t) BottomInt >> TopInt;
else
ResultInt = BottomInt >> TopInt;
*/
break;
case TokenShiftRight:
ResultInt = BottomInt >> TopInt;
Expand Down

0 comments on commit a97d94f

Please sign in to comment.