projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve the way we handle the various parsing "states". Until now
[pspp-builds.git]
/
src
/
language
/
utilities
/
set.q
diff --git
a/src/language/utilities/set.q
b/src/language/utilities/set.q
index 19a287b219d0e6d32947614a1db6a91b843217c8..1e093419f99a7a7a0932c4cf7a2344a60fad5c40 100644
(file)
--- a/
src/language/utilities/set.q
+++ b/
src/language/utilities/set.q
@@
-469,9
+469,9
@@
static void
show_blanks (void)
{
if (get_blanks () == SYSMIS)
show_blanks (void)
{
if (get_blanks () == SYSMIS)
- msg (M
M
, _("BLANKS is SYSMIS."));
+ msg (M
N
, _("BLANKS is SYSMIS."));
else
else
- msg (M
M
, _("BLANKS is %g."), get_blanks ());
+ msg (M
N
, _("BLANKS is %g."), get_blanks ());
}
}
@@
-503,7
+503,7
@@
show_cc (int idx)
out = format_cc (cc->neg_suffix, cc->grouping, out);
*out = '\0';
out = format_cc (cc->neg_suffix, cc->grouping, out);
*out = '\0';
- msg (M
M
, _("CC%c is \"%s\"."), "ABCDE"[idx], cc_string);
+ msg (M
N
, _("CC%c is \"%s\"."), "ABCDE"[idx], cc_string);
}
}
@@
-540,61
+540,61
@@
show_cce (void)
static void
show_decimals (void)
{
static void
show_decimals (void)
{
- msg (M
M
, _("DECIMAL is \"%c\"."), get_decimal ());
+ msg (M
N
, _("DECIMAL is \"%c\"."), get_decimal ());
}
static void
show_endcmd (void)
{
}
static void
show_endcmd (void)
{
- msg (M
M
, _("ENDCMD is \"%c\"."), get_endcmd ());
+ msg (M
N
, _("ENDCMD is \"%c\"."), get_endcmd ());
}
static void
show_format (void)
{
}
static void
show_format (void)
{
- msg (M
M
, _("FORMAT is %s."), fmt_to_string (get_format ()));
+ msg (M
N
, _("FORMAT is %s."), fmt_to_string (get_format ()));
}
static void
show_length (void)
{
}
static void
show_length (void)
{
- msg (M
M
, _("LENGTH is %d."), get_viewlength ());
+ msg (M
N
, _("LENGTH is %d."), get_viewlength ());
}
static void
show_mxerrs (void)
{
}
static void
show_mxerrs (void)
{
- msg (M
M
, _("MXERRS is %d."), get_mxerrs ());
+ msg (M
N
, _("MXERRS is %d."), get_mxerrs ());
}
static void
show_mxloops (void)
{
}
static void
show_mxloops (void)
{
- msg (M
M
, _("MXLOOPS is %d."), get_mxloops ());
+ msg (M
N
, _("MXLOOPS is %d."), get_mxloops ());
}
static void
show_mxwarns (void)
{
}
static void
show_mxwarns (void)
{
- msg (M
M
, _("MXWARNS is %d."), get_mxwarns ());
+ msg (M
N
, _("MXWARNS is %d."), get_mxwarns ());
}
static void
show_scompression (void)
{
if (get_scompression ())
}
static void
show_scompression (void)
{
if (get_scompression ())
- msg (M
M
, _("SCOMPRESSION is ON."));
+ msg (M
N
, _("SCOMPRESSION is ON."));
else
else
- msg (M
M
, _("SCOMPRESSION is OFF."));
+ msg (M
N
, _("SCOMPRESSION is OFF."));
}
static void
show_undefined (void)
{
if (get_undefined ())
}
static void
show_undefined (void)
{
if (get_undefined ())
- msg (M
M
, _("UNDEFINED is WARN."));
+ msg (M
N
, _("UNDEFINED is WARN."));
else
else
- msg (M
M
, _("UNDEFINED is NOWARN."));
+ msg (M
N
, _("UNDEFINED is NOWARN."));
}
static void
}
static void
@@
-602,15
+602,15
@@
show_weight (void)
{
struct variable *var = dict_get_weight (default_dict);
if (var == NULL)
{
struct variable *var = dict_get_weight (default_dict);
if (var == NULL)
- msg (M
M
, _("WEIGHT is off."));
+ msg (M
N
, _("WEIGHT is off."));
else
else
- msg (M
M
, _("WEIGHT is variable %s."), var->name);
+ msg (M
N
, _("WEIGHT is variable %s."), var->name);
}
static void
show_width (void)
{
}
static void
show_width (void)
{
- msg (M
M
, _("WIDTH is %d."), get_viewwidth ());
+ msg (M
N
, _("WIDTH is %d."), get_viewwidth ());
}
struct show_sbc
}
struct show_sbc
@@
-661,13
+661,13
@@
show_all_cc (void)
static void
show_warranty (void)
{
static void
show_warranty (void)
{
- msg (M
M
, lack_of_warranty);
+ msg (M
N
, lack_of_warranty);
}
static void
show_copying (void)
{
}
static void
show_copying (void)
{
- msg (M
M
, copyleft);
+ msg (M
N
, copyleft);
}
int
}
int
@@
-700,14
+700,14
@@
cmd_show (void)
goto found;
}
lex_error (NULL);
goto found;
}
lex_error (NULL);
- return CMD_
PART_SUCCESS_MAYB
E;
+ return CMD_
FAILUR
E;
found: ;
}
else
{
lex_error (NULL);
found: ;
}
else
{
lex_error (NULL);
- return CMD_
PART_SUCCESS_MAYB
E;
+ return CMD_
FAILUR
E;
}
lex_match ('/');
}
lex_match ('/');