The caller will free the 'file_name' member of READER, so the
implementation should not do so. */
- void (*close) (struct lex_reader *reader);
+ void (*destroy) (struct lex_reader *reader);
};
/* Helper functions for lex_reader. */
PRINTF_FORMAT (4, 5);
int lex_end_of_command (struct lexer *);
+void lex_error_expecting (struct lexer *, const char *, ...) SENTINEL(0);
+
void lex_sbc_only_once (const char *);
void lex_sbc_missing (struct lexer *, const char *);