17451k / clade

Clade is a tool for extracting information about software build process and source code
Apache License 2.0
19 stars 6 forks source link

Remove duplicate entries in output of Variables extension #142

Closed 17451k closed 2 years ago

17451k commented 2 years ago

Example:

{
    "/tmp/tests/test_project/zero.c": [
        {
            "declaration": "int (*fp3[1U])(void)",
            "path": "/tmp/tests/test_project/zero.c",
            "type": "global",
            "value": [
                {
                    "index": 0,
                    "value": " & zero"
                }
            ]
        },
        {
            "declaration": "int (*fp3[1U])(void)",
            "path": "/tmp/tests/test_project/zero.c",
            "type": "global",
            "value": [
                {
                    "index": 0,
                    "value": " & zero"
                }
            ]
        },
        {
            "declaration": "int (*fp3[1U])(void)",
            "path": "/tmp/tests/test_project/zero.c",
            "type": "global",
            "value": [
                {
                    "index": 0,
                    "value": " & zero"
                }
            ]
        }
    ]
}
17451k commented 2 years ago

Implemented in v3.5.