diff options
author | Ryan Lortie <desrt@desrt.ca> | 2015-03-12 17:09:02 -0400 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2015-03-13 11:02:13 +0100 |
commit | 545a70ce4bc0c83748a8f580dd8e12b3ca631209 (patch) | |
tree | cf8fc320e25db651002d91297ac6dc91f2fd5841 /gtkdoc-mkdb.in | |
parent | 25d07c22a597f9da45a32dfb6d139b0a56631895 (diff) | |
download | gtk-doc-545a70ce4bc0c83748a8f580dd8e12b3ca631209.tar.gz |
Expand annotation recognition on symbol lines
Expand support for this sort of annotation:
/**
* some_symbol: (annotations here)
...
to also allow for capital letters and dots ('.') to appear within the
annotations. This is needed for annotations such as:
/**
* GTlsClientConnection:accepted-cas: (type GLib.List) (element-type GLib.ByteArray)
...
as one real-world example.
https://bugzilla.gnome.org/show_bug.cgi?id=746120
https://bugzilla.gnome.org/show_bug.cgi?id=746121
Diffstat (limited to 'gtkdoc-mkdb.in')
-rwxr-xr-x | gtkdoc-mkdb.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in index 9543a3c..0f1139e 100755 --- a/gtkdoc-mkdb.in +++ b/gtkdoc-mkdb.in @@ -4055,7 +4055,7 @@ sub ScanSourceFile { if (m%^\s*(SECTION:\s*\S+)%) { $symbol = $1; @TRACE@("SECTION DOCS found in source for : '$symbol'\n"); - } elsif (m%^\s*([\w:-]*\w)\s*:?\s*(\([-a-z0-9_ ]+\)\s*)*$%) { + } elsif (m%^\s*([\w:-]*\w)\s*:?\s*(\([-A-Za-z0-9._ ]+\)\s*)*$%) { $symbol = $1; @TRACE@("SYMBOL DOCS found in source for : '$symbol'\n"); } |