gscanner: Skipping number parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: pgpiJhDjSdyfq.pgp
Description: PGP signature

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

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux