02110-1301, USA. */
#include <config.h>
-#include "format.h"
+#include <data/format.h>
#include <ctype.h>
-#include "message.h"
+#include <libpspp/message.h>
#include <stdlib.h>
-#include "message.h"
+#include <libpspp/message.h>
#include "lexer.h"
-#include "misc.h"
-#include "str.h"
-#include "variable.h"
+#include <libpspp/misc.h>
+#include <libpspp/str.h>
+#include <data/variable.h>
#include "gettext.h"
#define _(msgid) gettext (msgid)
ds_c_str (&tokstr));
return 0;
}
+ if ( w > MAX_STRING )
+ {
+ msg (SE, _("String variable width may not exceed %d"), MAX_STRING);
+ return 0;
+ }
cp = cp2;
if (f->n_args > 1 && *cp == '.')