docs: Move the GScanner SECTION

Not much here to begin with.

Helps: #3037
This commit is contained in:
Matthias Clasen 2023-09-25 07:52:02 -04:00 committed by Philip Withnall
parent 5a415ee93f
commit c50f94e41e

View File

@ -54,15 +54,6 @@
#endif #endif
/**
* SECTION:scanner
* @title: Lexical Scanner
* @short_description: a general purpose lexical scanner
*
* The #GScanner and its associated functions provide a
* general purpose lexical scanner.
*/
/** /**
* GScannerMsgFunc: * GScannerMsgFunc:
* @scanner: a #GScanner * @scanner: a #GScanner
@ -196,7 +187,7 @@
* @next_position: char number of the last token from g_scanner_peek_next_token() * @next_position: char number of the last token from g_scanner_peek_next_token()
* @msg_handler: handler function for _warn and _error * @msg_handler: handler function for _warn and _error
* *
* The data structure representing a lexical scanner. * `GScanner` provides a general-purpose lexical scanner.
* *
* You should set @input_name after creating the scanner, since * You should set @input_name after creating the scanner, since
* it is used by the default message handler when displaying * it is used by the default message handler when displaying