Question about glib g_scanner_peek_next_token
- From: Carlos Terrón <terron arrakis es>
- To: gtk-app-devel-list gnome org
- Subject: Question about glib g_scanner_peek_next_token
- Date: Thu, 10 May 2007 16:57:29 +0200 (CEST)
Hello
I'm using the GScanner lexical scanner of glib in a project. I have a
question about g_scanner_peek_next_token:
In the documentation says that if I call g_scanner_peek_next_token and
change the scope, the token isn't reevaluated, i.e if I change the scope
and then get the token by g_scanner_get_next_token, the token returned is
not evaluated again.
I have seen the code of gscanner.c, in the function
g_scanner_peek_next_token. If supported to force the token reevaluation
assigne to scanner->next_token the value G_TOKEN_NONE?.
Greetings
Carlos
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]