From 87afa5056d5a1b0fd4befb3348b90e4f391a9b10 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Wed, 2 Jan 2019 21:40:02 -0500 Subject: [PATCH] spurious compiler warnings --- jsvar.d | 2 +- script.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jsvar.d b/jsvar.d index 5752aeb..696a490 100644 --- a/jsvar.d +++ b/jsvar.d @@ -709,7 +709,7 @@ struct var { case Type.String: case Type.Function: assert(0); // FIXME - break; + //break; case Type.Integral: return var(-this.get!long); case Type.Floating: diff --git a/script.d b/script.d index 1cd764d..e9e75ae 100644 --- a/script.d +++ b/script.d @@ -2538,7 +2538,7 @@ Expression parseStatement(MyTokenStreamHere)(ref MyTokenStreamHere tokens, strin return parseFunctionCall(tokens, new AssertKeyword(token)); - break; + //break; // declarations case "var": return parseVariableDeclaration(tokens, ";");