aboutsummaryrefslogtreecommitdiff
path: root/gas/config/bfin-parse.y
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2006-01-20 16:57:09 +0000
committerJie Zhang <jie.zhang@analog.com>2006-01-20 16:57:09 +0000
commit39cd1c7675f07c2dfbde11baaaea28d8899fa51f (patch)
treee78cc6e7861169f2669006b3018d8567ff4b910f /gas/config/bfin-parse.y
parent1c6ce4ef2aef2befef5cdd7676cb0102304fd6d1 (diff)
downloadgdb-39cd1c7675f07c2dfbde11baaaea28d8899fa51f.zip
gdb-39cd1c7675f07c2dfbde11baaaea28d8899fa51f.tar.gz
gdb-39cd1c7675f07c2dfbde11baaaea28d8899fa51f.tar.bz2
* config/bfin-parse.y (value_match): Use correct conversion
specifications in template string for __FILE__ and __LINE__. (binary): Ditto. (unary): Ditto.
Diffstat (limited to 'gas/config/bfin-parse.y')
-rw-r--r--gas/config/bfin-parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/bfin-parse.y b/gas/config/bfin-parse.y
index f5f1022..38c3f6e 100644
--- a/gas/config/bfin-parse.y
+++ b/gas/config/bfin-parse.y
@@ -4232,7 +4232,7 @@ value_match (Expr_Node *expr, int sz, int sign, int mul, int issigned)
if ((v % mul) != 0)
{
- error ("%s:%d: Value Error -- Must align to %d\n", __LINE__, __FILE__, mul);
+ error ("%s:%d: Value Error -- Must align to %d\n", __FILE__, __LINE__, mul);
return 0;
}
@@ -4308,7 +4308,7 @@ binary (Expr_Op_Type op, Expr_Node *x, Expr_Node *y)
break;
default:
- error ("%s:%d: Internal compiler error\n", __LINE__, __FILE__);
+ error ("%s:%d: Internal compiler error\n", __FILE__, __LINE__);
}
return x;
}
@@ -4335,7 +4335,7 @@ unary (Expr_Op_Type op, Expr_Node *x)
x->value.i_value = ~x->value.i_value;
break;
default:
- error ("%s:%d: Internal compiler error\n", __LINE__, __FILE__);
+ error ("%s:%d: Internal compiler error\n", __FILE__, __LINE__);
}
return x;
}