GNOME Bugzilla – Bug 707531
Two mistakes in the language definition 2.0 tutorial
Last modified: 2013-09-06 11:50:14 UTC
When following the tutorial to construct the full language-spec file (see bug #707372) I found the following two mistakes in the code snippet examples in the tutorial: 1. Characters "<" and ">" need to be escaped in XML; 2. The style for #include'ed header was defined as "style id="included-file"" earlier, so should be reference as such, instead of "style-ref="package"". A patch is attached. I didn't test it (don't really know how to build GTK+ documentation) but it should be obvious enough. Regards, Ming
Created attachment 254152 [details] [review] untested patch to fix mistakes in code snippets of the language-spec tutorial
Thank you for the patch. Here is the commit: https://git.gnome.org/browse/gtksourceview/commit/?id=7730714e33464562b625994184b08059c8487a41 To compile the doc, use the --enable-gtk-doc configure option. The next time, please create the patch with git format-patch, it will simplify the live of the developer.