continue;
}else if ( unichar == quote ) {
/* handles "\"". */
+ /* skip the first '"'. */
begin = cur = g_utf8_next_char(cur);
while (*cur) {
unichar = g_utf8_get_char(cur);
cur = g_utf8_next_char(cur);
}
gchar * tmp = g_strndup( begin, cur - begin);
- /* TODO: switch to strdup_escape for \"->" transforming. */
+ /* TODO: switch to own strdup_escape implementation
+ for \"->" transforming. */
token = g_strdup_printf(tmp);
g_free(tmp);
} else {
while(*cur) {
unichar = g_utf8_get_char(cur);
if ( g_unichar_isgraph(unichar) ) {
+ /* next unichar */
cur = g_utf8_next_char(cur);
} else {
/* space and other characters handles. */