Skip to content

Commit 86c13ce

Browse files
committed
fix frontend pause
1 parent 4409545 commit 86c13ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llparse/frontend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def ID():
211211
result = nodeImpl.Error(_frontend.node.Error(ID(), node.code, node.reason))
212212

213213
elif isinstance(node, source.code.Pause):
214-
result = nodeImpl.Pause(_frontend.node.Error(ID(), node.code, node.reason))
214+
result = nodeImpl.Pause(_frontend.node.Pause(ID(), node.code, node.reason))
215215

216216
elif isinstance(node, source.code.Comsume):
217217
result = nodeImpl.Consume(_frontend.node.Consume(ID(), node.field))

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "llparse"
3-
version = "0.1.3"
3+
version = "0.1.4"
44
description = "A Parody of llparse written for writing C Parsers with Python"
55
readme = "README.md"
66
authors = [

0 commit comments

Comments
 (0)