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
/
format.c
diff --git
a/src/format.c
b/src/format.c
index 44fbff4638d2338921a9b6463b273aa32bc8c592..744cd6feccaf3644fb118cc9cdfb0c51c4f6a3f3 100644
(file)
--- a/
src/format.c
+++ b/
src/format.c
@@
-49,7
+49,7
@@
parse_format_specifier_name (const char **cp, int allow_xt)
char *sp, *ep;
int idx;
char *sp, *ep;
int idx;
- sp = ep = ds_
value
(&tokstr);
+ sp = ep = ds_
c_str
(&tokstr);
while (isalpha ((unsigned char) *ep))
ep++;
while (isalpha ((unsigned char) *ep))
ep++;
@@
-74,7
+74,7
@@
parse_format_specifier_name (const char **cp, int allow_xt)
{
/* No match. */
msg (SE, _("%.*s is not a valid data format."),
{
/* No match. */
msg (SE, _("%.*s is not a valid data format."),
- (int) (ep - sp), ds_
value
(&tokstr));
+ (int) (ep - sp), ds_
c_str
(&tokstr));
idx = -1;
}
}
idx = -1;
}
}
@@
-338,7
+338,7
@@
parse_format_specifier (struct fmt_spec *input, int allow_xt)
if (cp2 == cp && type != FMT_X)
{
msg (SE, _("Data format %s does not specify a width."),
if (cp2 == cp && type != FMT_X)
{
msg (SE, _("Data format %s does not specify a width."),
- ds_
value
(&tokstr));
+ ds_
c_str
(&tokstr));
return 0;
}
return 0;
}
@@
-354,7
+354,7
@@
parse_format_specifier (struct fmt_spec *input, int allow_xt)
if (*cp)
{
if (*cp)
{
- msg (SE, _("Data format %s is not valid."), ds_
value
(&tokstr));
+ msg (SE, _("Data format %s is not valid."), ds_
c_str
(&tokstr));
return 0;
}
lex_get ();
return 0;
}
lex_get ();