projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the expression code a little nicer and fix bugs found
[pspp]
/
src
/
lexer.h
diff --git
a/src/lexer.h
b/src/lexer.h
index 83bfa825c3073fb2eaa084c81e70b6dae24c9827..23ce64bf2154b20098dfd2a44e7cde9e6d469aa3 100644
(file)
--- a/
src/lexer.h
+++ b/
src/lexer.h
@@
-88,7
+88,7
@@
int lex_end_of_command (void);
int lex_integer_p (void);
long lex_integer (void);
int lex_double_p (void);
int lex_integer_p (void);
long lex_integer (void);
int lex_double_p (void);
-
long
lex_double (void);
+
double
lex_double (void);
/* Token matching functions. */
int lex_match (int);
/* Token matching functions. */
int lex_match (int);
@@
-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);