mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-24 16:16:52 +02:00
if input_name is NULL, print out "<memory>" instead of completely skipping
Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org> * glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL, print out "<memory>" instead of completely skipping input specification and thusly loosing error line information.
This commit is contained in:
parent
133b56198b
commit
41c5704578
@ -1,3 +1,9 @@
|
|||||||
|
Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
|
||||||
|
print out "<memory>" instead of completely skipping input specification
|
||||||
|
and thusly loosing error line information.
|
||||||
|
|
||||||
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
|
||||||
|
print out "<memory>" instead of completely skipping input specification
|
||||||
|
and thusly loosing error line information.
|
||||||
|
|
||||||
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
|
||||||
|
print out "<memory>" instead of completely skipping input specification
|
||||||
|
and thusly loosing error line information.
|
||||||
|
|
||||||
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
|
||||||
|
print out "<memory>" instead of completely skipping input specification
|
||||||
|
and thusly loosing error line information.
|
||||||
|
|
||||||
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
|
||||||
|
print out "<memory>" instead of completely skipping input specification
|
||||||
|
and thusly loosing error line information.
|
||||||
|
|
||||||
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
|
||||||
|
print out "<memory>" instead of completely skipping input specification
|
||||||
|
and thusly loosing error line information.
|
||||||
|
|
||||||
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
|
* glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
|
||||||
|
print out "<memory>" instead of completely skipping input specification
|
||||||
|
and thusly loosing error line information.
|
||||||
|
|
||||||
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
* tests/mainloop-test.c: use gsize instead of int where appropriate
|
||||||
|
@ -289,8 +289,9 @@ g_scanner_msg_handler (GScanner *scanner,
|
|||||||
{
|
{
|
||||||
g_return_if_fail (scanner != NULL);
|
g_return_if_fail (scanner != NULL);
|
||||||
|
|
||||||
if (scanner->input_name)
|
fprintf (stderr, "%s:%d: ",
|
||||||
fprintf (stderr, "%s:%d: ", scanner->input_name, scanner->line);
|
scanner->input_name ? scanner->input_name : "<memory>",
|
||||||
|
scanner->line);
|
||||||
if (is_error)
|
if (is_error)
|
||||||
fprintf (stderr, "error: ");
|
fprintf (stderr, "error: ");
|
||||||
fprintf (stderr, "%s\n", message);
|
fprintf (stderr, "%s\n", message);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user