summaryrefslogtreecommitdiff
path: root/giscanner/scannerparser.y
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/scannerparser.y')
-rw-r--r--giscanner/scannerparser.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/scannerparser.y b/giscanner/scannerparser.y
index b2ce2cd9..85640fec 100644
--- 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;
}