From 35d328e8952b1825bea95536bb101e938a369ee6 Mon Sep 17 00:00:00 2001 From: Kevin Powick Date: Wed, 10 Jun 2020 11:16:20 -0400 Subject: [PATCH] Changed GOTO/GOSUB scope jumping message from Error to Warning --- server/src/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/server.ts b/server/src/server.ts index 7054a9f..2ee6213 100644 --- a/server/src/server.ts +++ b/server/src/server.ts @@ -519,7 +519,7 @@ function validateTextDocument(textDocument: TextDocument): void { // jumping into or out of a loop let index = line.lineOfCode.indexOf(labelName); let diagnosic: Diagnostic = { - severity: DiagnosticSeverity.Error, + severity: DiagnosticSeverity.Warning, range: { start: { line: line.lineNumber, character: index }, end: { line: line.lineNumber, character: index + labelName.length }