g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
[obnox/wireshark/wip.git] / epan / dtd_grammar.lemon
index 1b56e52a3d879f12ed493b0f846cf4d09b7abdac..3fc63e2e5517a29e8b474889e52fec013b5c563f 100644 (file)
@@ -69,13 +69,13 @@ static GPtrArray* g_ptr_array_join(GPtrArray* a, GPtrArray* b){
 
 %syntax_error {
        if (!TOKEN)
-               g_string_sprintfa(bd->error,"syntax error at end of file");
+               g_string_append_printf(bd->error,"syntax error at end of file");
        else 
-               g_string_sprintfa(bd->error,"syntax error in %s at or before '%s': \n", TOKEN->location,TOKEN->text);
+               g_string_append_printf(bd->error,"syntax error in %s at or before '%s': \n", TOKEN->location,TOKEN->text);
 }
 
 %parse_failure {
-       g_string_sprintfa(bd->error,"DTD parsing failure\n");
+       g_string_append_printf(bd->error,"DTD parsing failure\n");
 }
 
 %token_prefix TOKEN_