summaryrefslogtreecommitdiff
path: root/lib9p/types.gen
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-02 21:09:07 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-02 21:09:07 -0600
commit4b8a9d80d37c892695f102a48898fe1beacb593c (patch)
treea8e56c0b91201897f0966256b3b7b1e039d647a6 /lib9p/types.gen
parentba8f3ddba03ab93158c93f77ef98137e1dd6e8e9 (diff)
lib9p: Add the DM bitfield
Diffstat (limited to 'lib9p/types.gen')
-rwxr-xr-xlib9p/types.gen2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib9p/types.gen b/lib9p/types.gen
index 1b43fa4..3e800e8 100755
--- a/lib9p/types.gen
+++ b/lib9p/types.gen
@@ -238,6 +238,7 @@ def parse_file(
if not isinstance(_bf, Bitfield):
raise NameError(f"Type {repr(_bf.name)} is not a bitfield")
bf = _bf
+ prev = bf
else:
if not isinstance(prev, Bitfield):
raise SyntaxError(
@@ -269,6 +270,7 @@ def parse_file(
if not isinstance(_bf, Bitfield):
raise NameError(f"Type {repr(_bf.name)} is not a bitfield")
bf = _bf
+ prev = bf
else:
if not isinstance(prev, Bitfield):
raise SyntaxError(