}
else
{
- error_at (m_loc, "-march=%s: Expect number after `%dp'.",
+ error_at (m_loc, "%<-march=%s%>: Expect number after `%dp'.",
m_arch, version);
return NULL;
}
if (m_xlen > 32)
{
- error_at (m_loc, "-march=%s: rv%de is not a valid base ISA", m_arch,
- m_xlen);
+ error_at (m_loc, "%<-march=%s%>: rv%de is not a valid base ISA",
+ m_arch, m_xlen);
return NULL;
}
break;
break;
default:
- error_at (m_loc, "-march=%s: first ISA subset must be `e', `i' or `g'",
- m_arch);
+ error_at (m_loc, "%<-march=%s%>: first ISA subset must be `e', "
+ "`i' or `g'", m_arch);
return NULL;
}
if (std_ext != *std_exts)
{
if (strchr (all_std_exts, std_ext) == NULL)
- error_at (m_loc, "-march=%s: unsupported ISA subset `%c'",
+ error_at (m_loc, "%<-march=%s%>: unsupported ISA subset `%c'",
m_arch, *p);
else
error_at (m_loc,
- "-march=%s: ISA string is not in canonical order. `%c'",
- m_arch, *p);
+ "%<-march=%s%>: ISA string is not in canonical order. "
+ "`%c'", m_arch, *p);
return NULL;
}
if (*p != '\0' && *p != '_')
{
- error_at (m_loc, "-march=%s: %s must separate with _",
+ error_at (m_loc, "%<-march=%s%>: %s must separate with _",
m_arch, ext_type_str);
return NULL;
}
}
else
{
- error_at (loc, "-march=%s: ISA string must begin with rv32 or rv64",
+ error_at (loc, "%<-march=%s%>: ISA string must begin with rv32 or rv64",
arch);
goto fail;
}