.descending = false,
};
bool show_tables = true;
+ int exclude_ofs = 0;
lex_match (lexer, T_SLASH);
for (;;)
{
else if (lex_match_id (lexer, "MISSING"))
{
lex_match (lexer, T_EQUALS);
+ exclude_ofs = lex_ofs (lexer);
if (lex_match_id (lexer, "TABLE"))
proc.exclude = MV_ANY;
else if (lex_match_id (lexer, "INCLUDE"))
/* Missing values. */
if (proc.mode == GENERAL && !proc.exclude)
{
- msg (SE, _("Missing mode %s not allowed in general mode. "
- "Assuming %s."), "REPORT", "MISSING=TABLE");
+ lex_ofs_error (lexer, exclude_ofs, exclude_ofs,
+ _("Missing mode %s not allowed in general mode. "
+ "Assuming %s."), "REPORT", "MISSING=TABLE");
proc.exclude = MV_ANY;
}
{
if (proc->n_pivots)
{
- msg (SE, _("%s must be specified before %s."), "VARIABLES", "TABLES");
+ lex_next_error (lexer, -1, -1, _("%s must be specified before %s."),
+ "VARIABLES", "TABLES");
return false;
}