Change "union value" to dynamically allocate long strings.
[pspp-builds.git] / src / data / sys-file-private.h
index 9d5f52f0ebd304c3c87fd8b26d523b1e47a9f0d8..e839cd6ac02008ab5fec2ee08feffcfbdcad003f 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -38,7 +38,8 @@ struct dictionary;
 /* A variable in a system file. */
 struct sfm_var
   {
-    int width;                  /* Value width (0=numeric, else string). */
+    int var_width;              /* Variable width (0 to 32767). */
+    int segment_width;          /* Segment width (0 to 255). */
     int case_index;             /* Index into case. */
 
     /* The following members are interesting only for string