[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/matrix-data.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/matrix-data.c |
Date: |
Mon, 02 May 2005 02:21:36 -0400 |
Index: pspp/src/matrix-data.c
diff -u pspp/src/matrix-data.c:1.26 pspp/src/matrix-data.c:1.27
--- pspp/src/matrix-data.c:1.26 Fri Apr 29 01:02:15 2005
+++ pspp/src/matrix-data.c Mon May 2 06:21:20 2005
@@ -218,7 +218,7 @@
int i;
for (i = 0; i < nv; i++)
- if (!strcmp (v[i], "VARNAME_"))
+ if (!strcasecmp (v[i], "VARNAME_"))
{
msg (SE, _("VARNAME_ cannot be explicitly specified on "
"VARIABLES."));
@@ -236,7 +236,7 @@
{
struct variable *new_var;
- if (strcmp (v[i], "ROWTYPE_"))
+ if (strcasecmp (v[i], "ROWTYPE_"))
{
new_var = dict_create_var_assert (default_dict, v[i], 0);
attach_mxd_aux (new_var, MXD_CONTINUOUS, i);
@@ -306,7 +306,8 @@
if (dict_lookup_var (default_dict, tokid) == NULL
&& (lex_look_ahead () == '.' || lex_look_ahead () == '/'))
{
- if (!strcmp (tokid, "ROWTYPE_") || !strcmp (tokid, "VARNAME_"))
+ if (!strcasecmp (tokid, "ROWTYPE_")
+ || !strcasecmp (tokid, "VARNAME_"))
{
msg (SE, _("Split variable may not be named ROWTYPE_ "
"or VARNAME_."));
@@ -668,7 +669,7 @@
};
for (tp = tab; tp->value != -1; tp++)
- if (!strcmp (s, tp->string))
+ if (!strcasecmp (s, tp->string))
{
if (collide)
*collide = tp->collide;
- [Pspp-cvs] Changes to pspp/src/matrix-data.c,
Ben Pfaff <=