GVariant parser: tweak lexer for format strings
authorRyan Lortie <desrt@desrt.ca>
Wed, 17 Apr 2013 16:12:20 +0000 (12:12 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 19 Apr 2013 15:40:04 +0000 (11:40 -0400)
commit57cd876321f563bade0f6230108b1fce18d9b0c6
tree9694c869c85b47211798c405a2f73cc200717c2a
parent1d87c6c7f818eef758a2bd6afd07f6feabc5f45d
GVariant parser: tweak lexer for format strings

Tweak the lexer so that '[%s]' gets parsed as three separate tokens,
instead of the closing bracket getting sucked into the format string.
glib/gvariant-parser.c