Skip to content

Commit 2b7ba48

Browse files
authored
fix: syntax help issue in special case (#962)
1 parent 0d11508 commit 2b7ba48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/sas/CodeZoneManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ export class CodeZoneManager {
523523
if (token) {
524524
token = this._transToken(token);
525525
tokens.push(token);
526-
if (token.text === ";") {
526+
if (token.type === "sep" && token.text === ";") {
527527
break;
528528
}
529529
}

0 commit comments

Comments
 (0)