Fixed documentation about unused struct fields and added a note about

2002-03-25  Sven Neumann  <sven@gimp.org>

	* glib/tmpl/scanner.sgml: Fixed documentation about unused struct
	fields and added a note about proper g_scanner_unexp_token() usage.
This commit is contained in:
Sven Neumann 2002-03-25 11:55:14 +00:00 committed by Sven Neumann
parent 5b492c98cb
commit 1543f95a77
2 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,12 @@
2002-03-25 Sven Neumann <sven@gimp.org>
* glib/tmpl/scanner.sgml: Fixed documentation about unused struct
fields and added a note about proper g_scanner_unexp_token() usage.
2002-03-11 Matthias Clasen <maclas@gmx.de> 2002-03-11 Matthias Clasen <maclas@gmx.de>
* glib/tmpl/string_utils.sgml: Add a note about g_strreverse() and UTF-8. * glib/tmpl/string_utils.sgml: Add a note about g_strreverse() and
UTF-8.
2002-02-21 Matthias Clasen <maclas@gmx.de> 2002-02-21 Matthias Clasen <maclas@gmx.de>

View File

@ -31,7 +31,7 @@ name would be a good choice.
</para> </para>
<para> <para>
The <structfield>user_data</structfield> and The <structfield>user_data</structfield> and
<structfield>derived_data</structfield> fields are not used. <structfield>max_parse_errors</structfield> fields are not used.
If you need to associate extra data with the scanner you can place them here. If you need to associate extra data with the scanner you can place them here.
</para> </para>
<para> <para>
@ -435,6 +435,9 @@ documentation.
<!-- ##### FUNCTION g_scanner_unexp_token ##### --> <!-- ##### FUNCTION g_scanner_unexp_token ##### -->
<para> <para>
Outputs a message resulting from an unexpected token in the input stream. Outputs a message resulting from an unexpected token in the input stream.
Note that you should not call g_scanner_peek_next_token() followed by
g_scanner_unexp_token() without an intermediate call to
g_scanner_get_next_token().
</para> </para>
@scanner: a #GScanner. @scanner: a #GScanner.