lexer: Factor out scan error messages into new function.
[pspp] / src / language / lexer / scan.h
index 866321b0c84c5c61e8dec03b29fc3901554db3b6..61bfc5b553964dcebcc64726593a071de826c44f 100644 (file)
@@ -66,6 +66,8 @@ enum scan_type
 const char *scan_type_to_string (enum scan_type);
 bool is_scan_type (enum scan_type);
 
+char *scan_token_to_error (const struct token *);
+
 /* A scanner.  Opaque. */
 struct scanner
   {