work toward better error reporting
[pspp] / src / language / lexer / lexer.h
index 1282b6946b732e451ca080cd3b1cf50e621557a1..d82470ffdd456d52a2efe37f9037f7441a4c2686 100644 (file)
@@ -160,6 +160,7 @@ 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);
+void lex_extend_location (const struct lexer *, int n, struct msg_location *);
 const char *lex_get_encoding (const struct lexer *);
 
 /* Issuing errors. */