From b9ffe4eeb6f13317577cef79a54e2333cac4f1c7 Mon Sep 17 00:00:00 2001 From: Joseph Poirier Date: Wed, 17 Jan 2018 01:49:48 -0600 Subject: [PATCH 1/2] delete unused code --- expression.c | 6 ------ 1 file changed, 6 deletions(-) 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; From f84bf504d914b8449fe5c740c980be4259e75246 Mon Sep 17 00:00:00 2001 From: Joseph Poirier Date: Wed, 17 Jan 2018 08:33:04 -0600 Subject: [PATCH 2/2] fix typo in readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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} }; ```