Reform string library.
[pspp-builds.git] / src / language / lexer / q2c.c
index 1b12c269a140c80e91738c1de2f0e348a2a2dd11..2919bd5b24d6abd172dca0f6888ba75ece084e40 100644 (file)
@@ -1624,7 +1624,7 @@ dump_subcommand (const subcommand *sbc)
          outdent ();
        }
       dump (0, "free(p->s_%s);", st_lower(sbc->name) );
-      dump (0, "p->s_%s = xstrdup (ds_c_str (&tokstr));",
+      dump (0, "p->s_%s = ds_xstrdup (&tokstr);",
            st_lower (sbc->name));
       dump (0, "lex_get ();");
       if (sbc->restriction)