02110-1301, USA. */
+#include <config.h>
+
#include <libpspp/getl.h>
#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
return (struct getl_interface *) sss;
}
+
+/* Return the syntax currently contained in S.
+ Primarily usefull for debugging */
+const char *
+syntax_string_source_get_syntax (const struct syntax_string_source *s)
+{
+ return ds_cstr (&s->buffer);
+}