After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 569339 - abbreviation are not expanded at the start of text
abbreviation are not expanded at the start of text
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.11
Other Linux
: Normal normal
: 1.12
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-27 14:39 UTC by Yeti
Modified: 2009-01-28 12:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.09 KB, patch)
2009-01-27 14:46 UTC, Yeti
committed Details | Review

Description Yeti 2009-01-27 14:39:36 UTC
If you say, for instance

@see_also: #Foo, #Bar

the first abbreviation is not expanded to a type link.  This is because the regular expression matching abbreviations was changed to require a non-backslash character before the @, % or # symbol.
Comment 1 Yeti 2009-01-27 14:46:44 UTC
Created attachment 127329 [details] [review]
proposed patch

I tried to use (?<!pattern) negative look-behind assertion to catch the backslash but I got some strange perl warnings, so this fixes it the hard way.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-01-28 12:13:58 UTC
2009-01-28  Stefan Kost  <ensonic@users.sf.net>

	patch by: David Nečas <yeti@physics.muni.cz>

	* gtkdoc-mkdb.in:
	* tests/gobject/src/giface.c:
	* tests/gobject/src/gobject.c:
	  Abbreviation where not expanded at the start of text. Fixes #569339.