Skip to content

Commit

Permalink
Changed GOTO/GOSUB scope jumping message from Error to Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Powick committed Jun 10, 2020
1 parent 5d732b8 commit 35d328e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 35d328e

Please sign in to comment.