grim/gplate

Parents f7533f4ebefb
Children 843398396f00
The one bug that had me digging forever... stupid misplaced ? in a regex...
--- a/doc/gplate/tmpl/gplate-function.sgml Sun Feb 17 06:58:44 2008 -0600
+++ b/doc/gplate/tmpl/gplate-function.sgml Sun Feb 17 07:13:28 2008 -0600
@@ -29,7 +29,7 @@
</para>
@function:
-@variables:
+@tplate:
@contents:
@Returns:
--- a/doc/gplate/tmpl/gplate-tag.sgml Sun Feb 17 06:58:44 2008 -0600
+++ b/doc/gplate/tmpl/gplate-tag.sgml Sun Feb 17 07:13:28 2008 -0600
@@ -28,6 +28,11 @@
The contents of the tag.
</para>
+<!-- ##### ARG GPlateTag:template ##### -->
+<para>
+
+</para>
+
<!-- ##### FUNCTION gplate_tag_get_contents ##### -->
<para>
@@ -37,16 +42,6 @@
@Returns:
-<!-- ##### FUNCTION gplate_tag_render ##### -->
-<para>
-
-</para>
-
-@tag:
-@tplate:
-@Returns:
-
-
<!-- ##### FUNCTION gplate_tag_class_get_prefix ##### -->
<para>
--- a/doc/gplate/tmpl/gplate-unused.sgml Sun Feb 17 06:58:44 2008 -0600
+++ b/doc/gplate/tmpl/gplate-unused.sgml Sun Feb 17 07:13:28 2008 -0600
@@ -93,6 +93,15 @@
@Returns:
+<!-- ##### FUNCTION gplate_tag_render ##### -->
+<para>
+
+</para>
+
+@tag:
+@tplate:
+@Returns:
+
<!-- ##### FUNCTION gplate_template_add_tag ##### -->
<para>
--- a/gplate/gplate-template.c Sun Feb 17 06:58:44 2008 -0600
+++ b/gplate/gplate-template.c Sun Feb 17 07:13:28 2008 -0600
@@ -439,7 +439,7 @@
gchar *name = NULL, *ret = NULL;
gboolean deffunc = FALSE;
- regex = g_regex_new("(.*?)(\\s(.*?)?)",
+ regex = g_regex_new("(.*?)(\\s(.*?))?",
G_REGEX_OPTIMIZE | G_REGEX_MULTILINE, 0, NULL);
if(!regex)
return g_strdup("");