diff options
author | Dan Winship <danw@src.gnome.org> | 2009-01-27 17:17:31 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2009-01-27 17:17:31 +0000 |
commit | 071ccc99d384ad2321b6402622f92e185d9e07c1 (patch) | |
tree | 6b7c01f14136036498a1b51e3de868d434745135 /giscanner/scannerparser.y | |
parent | 1e1ccabfe816f856c761c8544a296c728eb170db (diff) | |
download | gobject-introspection-071ccc99d384ad2321b6402622f92e185d9e07c1.tar.gz |
Misc warning fixes
* giscanner/scannerparser.y: Fix the "Ignoring non-UTF-8 constant
string" error to print the right value.
* tests/scanner/annotation.c (backslash_parsing_tester)
(backslash_parsing_tester_2): make these non-static to avoid a
warning.
(annotation_object_string_out)
(annotation_string_zero_terminated): fix return values
* tests/scanner/annotation.h (annotation_object_with_voidp):
prototype this
* tests/scanner/gtkfrob.c:
* tests/scanner/gtkfrob.h (gtk_frob_language_manager_get_default):
fix prototype. (s/()/(void)/).
* tools/compiler.c (format_output): fix signed/unsigned warning.
Output a prototype for register_typelib() to avoid warnings later.
svn path=/trunk/; revision=1071
Diffstat (limited to 'giscanner/scannerparser.y')
-rw-r--r-- | giscanner/scannerparser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/scannerparser.y b/giscanner/scannerparser.y index dffe90e2..b2ce2cd9 100644 --- a/giscanner/scannerparser.y +++ b/giscanner/scannerparser.y @@ -185,7 +185,7 @@ strings $$->const_string = g_strcompress (yytext + 1); if (!g_utf8_validate ($$->const_string, -1, NULL)) { - g_warning ("Ignoring non-UTF-8 constant string %s", $$->ident); + g_warning ("Ignoring non-UTF-8 constant string \"%s\"", yytext + 1); g_free($$->const_string); $$->const_string = NULL; } |