projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented the SHOW command and massaged the SET command to fit
[pspp-builds.git]
/
src
/
lexer.c
diff --git
a/src/lexer.c
b/src/lexer.c
index 94793bfb9557d4d0191b411c93405bc09fcd98e2..5b1b39415393548b4619dc16873a09bfaa28c48f 100644
(file)
--- a/
src/lexer.c
+++ b/
src/lexer.c
@@
-422,7
+422,7
@@
lex_double_p (void)
/* Returns the value of the current token, which must be a
floating point number. */
/* Returns the value of the current token, which must be a
floating point number. */
-long
+double
lex_double (void)
{
assert (lex_double_p ());
lex_double (void)
{
assert (lex_double_p ());
@@
-794,12
+794,12
@@
lex_preprocess_line (void)
len--;
/* Check for and remove terminal dot. */
len--;
/* Check for and remove terminal dot. */
- if (len > 0 && s[len - 1] ==
set_endcmd
)
+ if (len > 0 && s[len - 1] ==
get_endcmd()
)
{
dot = 1;
len--;
}
{
dot = 1;
len--;
}
- else if (len == 0 &&
set_nullline
)
+ else if (len == 0 &&
get_nullline()
)
dot = 1;
else
dot = 0;
dot = 1;
else
dot = 0;