Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
74d50906
Commit
74d50906
authored
Dec 15, 2006
by
Matthias Braun
Browse files
fix bad format string for gendecls
parent
6b6c76aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
ir/be/TEMPLATE/TEMPLATE_gen_decls.c
View file @
74d50906
...
...
@@ -351,7 +351,7 @@ static void dump_string_cst(struct obstack *obst, entity *ent)
if
(
isprint
(
c
))
obstack_printf
(
obst
,
"%c"
,
c
);
else
obstack_printf
(
obst
,
"
%O
"
,
c
);
obstack_printf
(
obst
,
"
\\
%o
"
,
c
);
break
;
}
}
...
...
ir/be/arm/arm_gen_decls.c
View file @
74d50906
...
...
@@ -3,6 +3,9 @@
* @date 14.02.2006
* @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
...
...
@@ -344,9 +347,9 @@ static void dump_string_cst(struct obstack *obst, ir_entity *ent)
case
'\t'
:
obstack_printf
(
obst
,
"
\\
t"
);
break
;
default
:
if
(
isprint
(
c
))
obstack_printf
(
obst
,
"%c"
,
c
);
obstack_printf
(
obst
,
"%c"
,
c
);
else
obstack_printf
(
obst
,
"
%O
"
,
c
);
obstack_printf
(
obst
,
"
\\
%o
"
,
c
);
break
;
}
}
...
...
ir/be/ia32/ia32_gen_decls.c
View file @
74d50906
...
...
@@ -329,7 +329,7 @@ static void dump_string_cst(obstack_t *obst, ir_entity *ent)
if
(
isprint
(
c
))
obstack_printf
(
obst
,
"%c"
,
c
);
else
obstack_printf
(
obst
,
"
%O
"
,
c
);
obstack_printf
(
obst
,
"
\\
%o
"
,
c
);
break
;
}
}
...
...
ir/be/mips/mips_gen_decls.c
View file @
74d50906
...
...
@@ -304,7 +304,7 @@ static void dump_string_cst(struct obstack *obst, ir_entity *ent)
if
(
isprint
(
c
))
obstack_printf
(
obst
,
"%c"
,
c
);
else
obstack_printf
(
obst
,
"
%O
"
,
c
);
obstack_printf
(
obst
,
"
\\
%o
"
,
c
);
break
;
}
}
...
...
ir/be/ppc32/ppc32_gen_decls.c
View file @
74d50906
...
...
@@ -3,6 +3,9 @@
* @date 14.02.2006
* @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
...
...
@@ -348,7 +351,7 @@ static void dump_string_cst(struct obstack *obst, ir_entity *ent)
if
(
isprint
(
c
))
obstack_printf
(
obst
,
"%c"
,
c
);
else
obstack_printf
(
obst
,
"
%O
"
,
c
);
obstack_printf
(
obst
,
"
\\
%o
"
,
c
);
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment