projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lexer: Factor out scan error messages into new function.
[pspp]
/
src
/
language
/
lexer
/
scan.h
diff --git
a/src/language/lexer/scan.h
b/src/language/lexer/scan.h
index 1c0ff7a1e5477286ff1d1256a4e6c5823877fba0..0dde2738049d6d8fdbe2f4bcdb6f5a2bf7b8a3e2 100644
(file)
--- a/
src/language/lexer/scan.h
+++ b/
src/language/lexer/scan.h
@@
-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
{