projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added (some of the) calculations for the examine command.
[pspp]
/
src
/
lexer.h
diff --git
a/src/lexer.h
b/src/lexer.h
index cf7451582106aa3ef066d0bf4db216e637b4c3e6..1561d79319c15ddcd7dc12d8a391ac1de34f3ecd 100644
(file)
--- a/
src/lexer.h
+++ b/
src/lexer.h
@@
-65,7
+65,7
@@
enum
T_FIRST_KEYWORD = T_AND,
T_LAST_KEYWORD = T_WITH,
T_FIRST_KEYWORD = T_AND,
T_LAST_KEYWORD = T_WITH,
- T_N_KEYWORDS = T_LAST_KEYWORD - T_FIRST_KEYWORD + 1
,
+ T_N_KEYWORDS = T_LAST_KEYWORD - T_FIRST_KEYWORD + 1
};
};
@@
-111,11
+111,11
@@
int lex_id_match (const char *keyword_string, const char *token_string);
/* Weird token functions. */
int lex_look_ahead (void);
void lex_put_back (int);
/* Weird token functions. */
int lex_look_ahead (void);
void lex_put_back (int);
-void lex_put_
forward (int
);
+void lex_put_
back_id (const char *tokid
);
/* Weird line processing functions. */
/* Weird line processing functions. */
-char *lex_entire_line (void);
-c
har *lex_rest_of_line (int *ha
d_dot);
+c
onst c
har *lex_entire_line (void);
+c
onst char *lex_rest_of_line (int *en
d_dot);
void lex_discard_line (void);
void lex_set_prog (char *p);
void lex_discard_line (void);
void lex_set_prog (char *p);