]> git.ipfire.org Git - thirdparty/vala.git/commit
girparser: Avoid possibily creating duplicated attributes
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 15 Dec 2021 20:42:53 +0000 (21:42 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 15 Dec 2021 20:42:53 +0000 (21:42 +0100)
commit92b2e9315f9946fdc1821570ee017d9afa6582a3
treea9b0b8cccf41e556afecb4ee55a4e008c47cc6af
parent52c225d65cf0bb9d26040170e965a09c6d231da7
girparser: Avoid possibily creating duplicated attributes

Don't append an attribute without checking if there is an existing one.
In case the attribute already exists append the new key/value pairs.
vala/valacodenode.vala
vala/valagirparser.vala