mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-16 06:54:37 +00:00
ini: Fix parsing list property values
While looking at something else, I came across an issue in read_context::read_list_property_value. This function requires elements of a list property value (separated by a comma) to be on a single line, for instance. This is because the code forgets to parse white spaces after the comma. Fixed thus. * src/abg-ini.cc (read_context::read_list_property_value): Expect white spaces after the comma. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
ca4f4d894c
commit
2ead575e76
@ -1440,6 +1440,7 @@ public:
|
||||
char c = 0;
|
||||
read_next_char(c);
|
||||
ABG_ASSERT(c == ',');
|
||||
skip_white_spaces();
|
||||
}
|
||||
|
||||
if (!content.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user