Skip to content

Commit 7fa31b5

Browse files
authored
LLParse Typescript was updated with a new macro.
1 parent d315f1b commit 7fa31b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llparse/compilator.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -990,8 +990,7 @@ def buildResumptionStates(self, out: list[str]):
990990
out.append(f"{LABEL_PREFIX}{name} : " + "{")
991991
for line in lines:
992992
out.append(f" {line}")
993-
out.append(" /* UNREACHABLE */;")
994-
out.append(" abort();")
993+
out.append(" UNREACHABLE;")
995994
out.append("}")
996995

997996
def buildInternalStates(self, out: list[str]):
@@ -1002,8 +1001,7 @@ def buildInternalStates(self, out: list[str]):
10021001
out.append(f"{LABEL_PREFIX}{name}: " + "{")
10031002
for line in lines:
10041003
out.append(f" {line}")
1005-
out.append(" /* UNREACHABLE */;")
1006-
out.append(" abort();")
1004+
out.append(" UNREACHABLE;")
10071005
out.append("}")
10081006

10091007
def addState(self, state: str, lines: list[str]):

0 commit comments

Comments
 (0)