diff options
Diffstat (limited to 'Tools/c-analyzer/c_parser/parser/_compound_decl_body.py')
-rw-r--r-- | Tools/c-analyzer/c_parser/parser/_compound_decl_body.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/c-analyzer/c_parser/parser/_compound_decl_body.py b/Tools/c-analyzer/c_parser/parser/_compound_decl_body.py index eb5bc67..67528d2 100644 --- a/Tools/c-analyzer/c_parser/parser/_compound_decl_body.py +++ b/Tools/c-analyzer/c_parser/parser/_compound_decl_body.py @@ -99,7 +99,7 @@ def _parse_struct_next(m, srcinfo, anon_name, parent): name = anon_name('struct-field-') if size: # data = (data, size) - data['size'] = int(size) + data['size'] = int(size) if size.isdigit() else size else: # This shouldn't happen (we expect each field to have a name). raise NotImplementedError |