From 1543f95a77ebfc8d6488e55fd3a08a0256925950 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 25 Mar 2002 11:55:14 +0000 Subject: [PATCH] Fixed documentation about unused struct fields and added a note about 2002-03-25 Sven Neumann * glib/tmpl/scanner.sgml: Fixed documentation about unused struct fields and added a note about proper g_scanner_unexp_token() usage. --- docs/reference/ChangeLog | 8 +++++++- docs/reference/glib/tmpl/scanner.sgml | 5 ++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index aead4615..1a765672 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,6 +1,12 @@ +2002-03-25 Sven Neumann + + * 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 - * 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 diff --git a/docs/reference/glib/tmpl/scanner.sgml b/docs/reference/glib/tmpl/scanner.sgml index f936b2e3..0bc4a9b0 100644 --- a/docs/reference/glib/tmpl/scanner.sgml +++ b/docs/reference/glib/tmpl/scanner.sgml @@ -31,7 +31,7 @@ name would be a good choice. The user_data and -derived_data fields are not used. +max_parse_errors fields are not used. If you need to associate extra data with the scanner you can place them here. @@ -435,6 +435,9 @@ documentation. 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(). @scanner: a #GScanner. -- 2.34.1