while (iact);
}
-
+ int nototals_ofs = 0;
while (lex_token (lexer) != T_ENDCMD)
{
lex_match (lexer, T_SLASH);
else if (lex_match_id (lexer, "NOTOTAL"))
{
nototals_seen = true;
+ nototals_ofs = lex_ofs (lexer) - 1;
}
else if (lex_match_id (lexer, "MISSING"))
{
if (totals_seen && nototals_seen)
{
- msg (SE, _("%s and %s are mutually exclusive."), "TOTAL", "NOTOTAL");
+ lex_ofs_error (lexer, nototals_ofs, nototals_ofs,
+ _("%s and %s are mutually exclusive."),
+ "TOTAL", "NOTOTAL");
goto error;
}