#include "sf-istream.h"
#include "rc-str-list.h"
#include "string-desc.h"
+#include "xstring-desc.h"
#include "xgettext.h"
#include "xg-pos.h"
#include "xg-encoding.h"
/* Take the string without the delimiters at the start and at the end. */
if (!(len >= 2))
abort ();
- tp->string = sd_c (sd_substring (string, 1, len - 1));
+ tp->string = xsd_c (sd_substring (string, 1, len - 1));
sd_free (string);
tp->comment = add_reference (savable_comment);
}
#include <error.h>
#include "message.h"
#include "string-desc.h"
+#include "xstring-desc.h"
#include "string-buffer.h"
#include "xgettext.h"
#include "xg-pos.h"
#include "xg-message.h"
#include "if-error.h"
#include "xalloc.h"
-#include "string-buffer.h"
#include "read-file.h"
#include "unistr.h"
#include "po-charset.h"
string_desc_t subnode_string =
sd_new_addr (ts_node_end_byte (subnode) - ts_node_start_byte (subnode),
(char *) contents + ts_node_start_byte (subnode));
- return sd_c (subnode_string);
+ return xsd_c (subnode_string);
}
}
|| sd_char_at (subnode_string, 0) == '\t'))
subnode_string = sd_substring (subnode_string, 1, sd_length (subnode_string));
}
- sb_append_desc (&buffer, subnode_string);
+ sb_xappend_desc (&buffer, subnode_string);
skip_leading_whitespace = false;
}
else if (ts_node_symbol (subnode) == ts_symbol_escape_sequence)
string_desc_t subnode_string =
sd_new_addr (ts_node_end_byte (subnode) - ts_node_start_byte (subnode),
(char *) contents + ts_node_start_byte (subnode));
- fprintf (stderr, "identifier=%s\n", sd_c (subnode_string));
+ fprintf (stderr, "identifier=%s\n", xsd_c (subnode_string));
if (sd_equals (subnode_string, sd_from_c ("println")))
{
fprintf (stderr, "children:\n");