From a1ec815afd2dd4379ce443efbb4d4aca4cf97c33 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 27 Mar 2013 17:09:16 -0400 Subject: giscanner: Create AST nodes for SECTION: doc blocks; add a GIR node These will eventually be paired with the sections file parser to create a set of sections. --- girepository/girparser.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'girepository/girparser.c') diff --git a/girepository/girparser.c b/girepository/girparser.c index 6c768669..fb6a18f1 100644 --- a/girepository/girparser.c +++ b/girepository/girparser.c @@ -3004,6 +3004,13 @@ start_element_handler (GMarkupParseContext *context, goto out; break; + case 's': + if (strcmp (element_name, "section") == 0) + { + state_switch (ctx, STATE_PASSTHROUGH); + goto out; + } + case 'u': if (start_union (context, element_name, attribute_names, attribute_values, -- cgit v1.2.1