diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-19 12:53:51 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-19 12:53:51 -0600 |
commit | 59e1fc370371c8da876d6c2ce68794bb7f89e525 (patch) | |
tree | 8037e1493bfebe72cb6023f5eccb62cff0c63349 /lib9p/core_gen/c_format.py | |
parent | 0cf05b66f94bfe02ecca37a4cbafba25b27c32ae (diff) | |
parent | 7f34046f5b27617b70c1d55f479c2a1abb8b8d8a (diff) |
Merge branch 'lukeshu/9p-tidy'
Diffstat (limited to 'lib9p/core_gen/c_format.py')
-rw-r--r-- | lib9p/core_gen/c_format.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/core_gen/c_format.py b/lib9p/core_gen/c_format.py index f9eee90..c633fbb 100644 --- a/lib9p/core_gen/c_format.py +++ b/lib9p/core_gen/c_format.py @@ -105,7 +105,7 @@ def gen_c_format(versions: set[str], typs: list[idl.UserType]) -> str: ret += "\tif (empty)\n" ret += "\t\tfmt_state_putchar(state, '0');\n" ret += "\tfmt_state_putchar(state, ')');\n" - case idl.Struct(typname="s"): # SPECIAL(string) + case idl.Struct(typname="s"): # SPECIAL (string) ret += ext_printf( '\tfmt_state_printf(state, "%.*q", self->len, self->utf8);\n' ) |