diff --git a/README.md b/README.md index a65f4db..8948c3f 100644 --- a/README.md +++ b/README.md @@ -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} }; ``` diff --git a/expression.c b/expression.c index 6a6c8c0..ca2eedb 100644 --- a/expression.c +++ b/expression.c @@ -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;