aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dtd_grammar.lemon
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-05-11 18:33:49 +0000
committerBill Meier <wmeier@newsguy.com>2008-05-11 18:33:49 +0000
commitfe5c2d98205e726a049ae1c5f2ac5013c6bda60b (patch)
tree2c5118a7646e1fa773f2a668ffa4cae5cedb3c5d /epan/dtd_grammar.lemon
parent319f71c537bf55a7cdfe0ea51d1909ad24c6491b (diff)
g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
svn path=/trunk/; revision=25276
Diffstat (limited to 'epan/dtd_grammar.lemon')
-rw-r--r--epan/dtd_grammar.lemon6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dtd_grammar.lemon b/epan/dtd_grammar.lemon
index 1b56e52a3d..3fc63e2e55 100644
--- a/epan/dtd_grammar.lemon
+++ b/epan/dtd_grammar.lemon
@@ -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_