]> 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>
Sun, 9 Jan 2022 09:02:24 +0000 (10:02 +0100)
commit4e6d7d5247a77bfb73584ffa299b4098c9dedbbf
tree5c246c0defb5c69a488d8d1fdfef7c942fd2654e
parent993eef97269a7189c711b5782447e39a3e232971
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