summaryrefslogtreecommitdiff
path: root/src/c_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_client.py')
-rwxr-xr-xsrc/c_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_client.py b/src/c_client.py
index db974e0..d634c27 100755
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -640,7 +640,7 @@ def _c_complex(self):
if not field.type.fixed_size():
varfield = field.c_field_name
continue
- if varfield != None and not field.type.is_pad:
+ if varfield != None and not field.type.is_pad and field.wire:
errmsg = '%s: warning: variable field %s followed by fixed field %s\n' % (self.c_type, varfield, field.c_field_name)
sys.stderr.write(errmsg)
# sys.exit(1)