diff options
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' ) |