2008-05-24
2008-05-24 21:45:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
b0984b2deb0871fee95dbe25838ac4ed6f9182e7
(11 lines)
(+6/-5)
[
Show
| Annotate
]
Branch: 7.9
Cosmetic change.
Rev: src/las.c:1.414
2:
|| This file is part of Pike. For copyright information see COPYRIGHT.
|| Pike is distributed under GPL, LGPL and MPL. See the file COPYING
|| for more information.
- || $Id: las.c,v 1.413 2008/05/24 15:14:12 grubba Exp $
+ || $Id: las.c,v 1.414 2008/05/24 21:45:48 grubba Exp $
*/
#include "global.h"
3237: Inside #if defined(NEW_ARG_CHECK)
}
ref_push_type_value(CAR(n)->type);
ref_push_type_value(soft_type);
- yytype_report(REPORT_ERROR, NULL, 0, NULL, NULL, 0, NULL, 2,
- "Soft cast of %O to %O isn't a valid cast.");
+ yytype_report(REPORT_ERROR, NULL, 0, NULL, NULL, 0, NULL,
+ 2, "Soft cast of %O to %O isn't a valid cast.");
} else {
yytype_report(REPORT_ERROR, NULL, 0, type_type_string,
NULL, 0, CDR(n)->type, 0,
3249:
if (!check_soft_cast(old_type, CAR(n)->type)) {
ref_push_type_value(old_type);
ref_push_type_value(CAR(n)->type);
- yytype_report(REPORT_ERROR, NULL, 0, NULL, NULL, 0, NULL, 2,
- "Soft cast to %S isn't a restriction of %S.",
+ yytype_report(REPORT_ERROR, NULL, 0, NULL, NULL, 0, NULL,
+ 2, "Soft cast to %S isn't a restriction of %S.",
t1, t2);
}
/* FIXME: check_soft_cast() is weaker than pike_types_le()