pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/vars-prs.c


From: John Darrington
Subject: [Pspp-cvs] Changes to pspp/src/vars-prs.c
Date: Mon, 24 Oct 2005 01:41:59 -0400

Index: pspp/src/vars-prs.c
diff -u pspp/src/vars-prs.c:1.20 pspp/src/vars-prs.c:1.21
--- pspp/src/vars-prs.c:1.20    Mon Oct 24 02:51:31 2005
+++ pspp/src/vars-prs.c Mon Oct 24 05:41:45 2005
@@ -91,41 +91,6 @@
   return parse_dict_variable (default_dict);
 }
 
-/* Returns the dictionary class corresponding to a variable named
-   NAME. */
-enum dict_class
-dict_class_from_id (const char *name) 
-{
-  assert (name != NULL);
-
-  switch (name[0]) 
-    {
-    default:
-      return DC_ORDINARY;
-    case '$':
-      return DC_SYSTEM;
-    case '#':
-      return DC_SCRATCH;
-    }
-}
-
-/* Returns the name of dictionary class DICT_CLASS. */
-const char *
-dict_class_to_name (enum dict_class dict_class) 
-{
-  switch (dict_class) 
-    {
-    case DC_ORDINARY:
-      return _("ordinary");
-    case DC_SYSTEM:
-      return _("system");
-    case DC_SCRATCH:
-      return _("scratch");
-    default:
-      assert (0);
-      abort ();
-    }
-}
 
 /* Parses a set of variables from dictionary D given options
    OPTS.  Resulting list of variables stored in *VAR and the




reply via email to

[Prev in Thread] Current Thread [Next in Thread]