projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
working
[pspp]
/
src
/
language
/
lexer
/
lexer.h
diff --git
a/src/language/lexer/lexer.h
b/src/language/lexer/lexer.h
index 23dd305179be5b3fa41574a62d7946c137689612..11a0c60d32517ff827638fed671f405d72f436bc 100644
(file)
--- a/
src/language/lexer/lexer.h
+++ b/
src/language/lexer/lexer.h
@@
-148,6
+148,10
@@
const char *lex_next_tokcstr (const struct lexer *, int n);
double lex_next_tokval (const struct lexer *, int n);
struct substring lex_next_tokss (const struct lexer *, int n);
double lex_next_tokval (const struct lexer *, int n);
struct substring lex_next_tokss (const struct lexer *, int n);
+int lex_ofs (const struct lexer *);
+const struct token *lex_ofs_token (const struct lexer *, int ofs);
+struct msg_location *lex_ofs_location (const struct lexer *, int ofs0, int ofs1);
+
/* Token representation. */
char *lex_next_representation (const struct lexer *, int n0, int n1);
bool lex_next_is_from_macro (const struct lexer *, int n);
/* Token representation. */
char *lex_next_representation (const struct lexer *, int n0, int n1);
bool lex_next_is_from_macro (const struct lexer *, int n);