projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9393b6f
)
Disable a UTF-8 warning per default
author
Johan Dahlin
<jdahlin@litl.com>
Sat, 21 Feb 2009 02:35:45 +0000
(23:35 -0300)
committer
Johan Dahlin
<johan@gnome.org>
Sat, 21 Feb 2009 02:35:45 +0000
(23:35 -0300)
giscanner/scannerparser.y
patch
|
blob
|
history
diff --git
a/giscanner/scannerparser.y
b/giscanner/scannerparser.y
index
b2ce2cd
..
85640fe
100644
(file)
--- a/
giscanner/scannerparser.y
+++ b/
giscanner/scannerparser.y
@@
-185,7
+185,9
@@
strings
$$->const_string = g_strcompress (yytext + 1);
if (!g_utf8_validate ($$->const_string, -1, NULL))
{
+#if 0
g_warning ("Ignoring non-UTF-8 constant string \"%s\"", yytext + 1);
+#endif
g_free($$->const_string);
$$->const_string = NULL;
}