Skip to content

Commit

Permalink
Evitar coleta de error de parse
Browse files Browse the repository at this point in the history
  • Loading branch information
dgadelha committed May 1, 2024
1 parent 8672f42 commit fa2a149
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/runner/src/PortugolExecutor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { PortugolCodeError, PortugolErrorListener, PortugolLexer, PortugolParser
import { PortugolErrorChecker } from "@portugol-webstudio/parser";
import { PortugolJs } from "@portugol-webstudio/runtime";
import { CharStream, CommonTokenStream } from "antlr4ng";
import { Subscription, Subject } from "rxjs";
import { Subject, Subscription } from "rxjs";

import { IPortugolRunner, PortugolEvent } from "./runners/IPortugolRunner.js";

Expand Down Expand Up @@ -225,7 +225,6 @@ export class PortugolExecutor {

this.reset(false);
this.events.next({ type: "parseError", errors: parseErrors });
this.events.error(error);
}
}

Expand Down

0 comments on commit fa2a149

Please sign in to comment.