projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fully implement arbitrary delimiters on DATA LIST, extending the half
[pspp-builds.git]
/
src
/
expr-prs.c
diff --git
a/src/expr-prs.c
b/src/expr-prs.c
index a6a4a7d680c8bb4d2f870e2057306b8dd0e70c40..05395bc461902aaca79929cd8116aebaa425c7e4 100644
(file)
--- a/
src/expr-prs.c
+++ b/
src/expr-prs.c
@@
-615,7
+615,7
@@
parse_primary (union any_node **n)
case T_STRING:
{
case T_STRING:
{
- *n = allocate_str_con (ds_
value
(&tokstr), ds_length (&tokstr));
+ *n = allocate_str_con (ds_
c_str
(&tokstr), ds_length (&tokstr));
lex_get ();
return EXPR_STRING;
}
lex_get ();
return EXPR_STRING;
}
@@
-1223,7
+1223,7
@@
parse_function (union any_node ** n)
}
ds_truncate (&tokstr, 31);
}
ds_truncate (&tokstr, 31);
- strcpy (fname, ds_
value
(&tokstr));
+ strcpy (fname, ds_
c_str
(&tokstr));
cp = strrchr (fname, '.');
if (cp && isdigit ((unsigned char) cp[1]))
{
cp = strrchr (fname, '.');
if (cp && isdigit ((unsigned char) cp[1]))
{