projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c8aa7d7
)
Remove the unused function fail_char().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 14 Apr 2011 12:22:20 +0000
(14:22 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 14 Apr 2011 12:22:20 +0000
(14:22 +0200)
ir/tv/fltcalc.c
patch
|
blob
|
history
diff --git
a/ir/tv/fltcalc.c
b/ir/tv/fltcalc.c
index
72ab7e7
..
c8575ad
100644
(file)
--- a/
ir/tv/fltcalc.c
+++ b/
ir/tv/fltcalc.c
@@
-130,20
+130,6
@@
static int max_precision;
/** Exact flag. */
static int fc_exact = 1;
/** Exact flag. */
static int fc_exact = 1;
-#if 0
-static void fail_char(const char *str, unsigned int len, int pos)
-{
- if (*(str+pos))
- printf("ERROR: Unexpected character '%c'\n", *(str + pos));
- else
- printf("ERROR: Unexpected end of string\n");
- while (len-- && *str) printf("%c", *str++); printf("\n");
- while (pos--) printf(" "); printf("^\n");
- /* the front end has to to check constant strings */
- exit(-1);
-}
-#endif
-
/** pack machine-like */
static void *pack(const fp_value *int_float, void *packed)
{
/** pack machine-like */
static void *pack(const fp_value *int_float, void *packed)
{