if (expr.type == EXPR_TYPE_CONSTANT) {
- repeat = expr.add_number;
+ repeat = expr.add_number * size;
if (repeat == 0) {
}
temp = xmalloc (1 + strlen (type) + 1 + strlen (*pp) + 1);
- sprintf (temp, "#%s %s", type, *pp);
+ sprintf (temp, "%%%s %s", type, *pp);
report_line_at (get_filename (), get_line_number (), REPORT_ERROR, start, skip_whitespace (start + 1), "%s", temp);
free (temp);
}
temp = xmalloc (1 + strlen (type) + 1 + strlen (*pp) + 1);
- sprintf (temp, "#%s %s", type, *pp);
+ sprintf (temp, "%%%s %s", type, *pp);
report_line_at (get_filename (), get_line_number (), REPORT_WARNING, start, skip_whitespace (start + 1), "%s", temp);
free (temp);