Is it possible to tell gscanner to not parse numbers?

I'm passing gscanner a string like "aoeu 7z aoeu". It gives me "aoeu"
and " " as tokens, but it gives G_TOKEN_ERROR for the "7z".

I get the desired result when I enable scan_string_sq and use the string
"aoeu '7z' aoeu", but I would rather not have to quote it.

Similarly, passing gscanner "0001" gives me the integer 1, when what I
really want is the string "0001".

Thanks!

Attachment: pgp95lZgCjwmJ.pgp
Description: PGP signature

_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to