lexer: Factor out scan error messages into new function.
[pspp] / src / language / lexer / scan.h
index 1c0ff7a1e5477286ff1d1256a4e6c5823877fba0..0dde2738049d6d8fdbe2f4bcdb6f5a2bf7b8a3e2 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
   {