pyclibrary icon indicating copy to clipboard operation
pyclibrary copied to clipboard

Update c_parser.py for parsing nested structures

Open CTecGermany opened this issue 4 years ago • 3 comments

I propose this change in order to be able to correctly parse nested structs and assign the correct identifies. This corrolates to this issue : https://github.com/MatthieuDartiailh/pyclibrary/issues/54#issue-1023755883

CTecGermany avatar Oct 18 '21 13:10 CTecGermany

This looks interesting. Could you add some test for it ?

MatthieuDartiailh avatar Oct 18 '21 13:10 MatthieuDartiailh

Hi, Sorry i was just very busy with other projects and havent found time to deal with this issue. What kind of test would you propose ?

CTecGermany avatar Nov 03 '21 07:11 CTecGermany

You could add a nested structure in tests/headers/struct.h and add a check in tests/test_parser.py to validate that the proper information are extracted.

MatthieuDartiailh avatar Nov 03 '21 07:11 MatthieuDartiailh

Superseded by #76

MatthieuDartiailh avatar Sep 24 '24 17:09 MatthieuDartiailh