message: Break message location out into a separate struct.
[pspp] / src / language / lexer / lexer.h
index 9d7973c2ad1e4afc9e1386f21d2d3cc4d174e153..6aa900e8df70b9bbbb77da7d2c12919ff9ef15cc 100644 (file)
@@ -156,6 +156,8 @@ int lex_get_last_line_number (const struct lexer *, int n);
 int lex_get_first_column (const struct lexer *, int n);
 int lex_get_last_column (const struct lexer *, int n);
 const char *lex_get_file_name (const struct lexer *);
+struct msg_location *lex_get_location (const struct lexer *, int n0, int n1);
+struct msg_location *lex_get_lines (const struct lexer *, int n0, int n1);
 const char *lex_get_encoding (const struct lexer *);
 
 /* Issuing errors. */