summaryrefslogtreecommitdiff
path: root/enc/trans/newline.trans
diff options
context:
space:
mode:
Diffstat (limited to 'enc/trans/newline.trans')
-rw-r--r--enc/trans/newline.trans3
1 files changed, 3 insertions, 0 deletions
diff --git a/enc/trans/newline.trans b/enc/trans/newline.trans
index 3b70712..409da1d 100644
--- a/enc/trans/newline.trans
+++ b/enc/trans/newline.trans
@@ -44,6 +44,7 @@ rb_universal_newline = {
1, /* input_unit_length */
1, /* max_input */
1, /* max_output */
+ stateful_decoder, /* stateful_type */
NULL, NULL, NULL, fun_so_universal_newline
};
@@ -61,6 +62,7 @@ rb_crlf_newline = {
1, /* input_unit_length */
1, /* max_input */
2, /* max_output */
+ stateless_converter, /* stateful_type */
NULL, NULL, NULL, NULL
};
@@ -78,6 +80,7 @@ rb_cr_newline = {
1, /* input_unit_length */
1, /* max_input */
1, /* max_output */
+ stateless_converter, /* stateful_type */
NULL, NULL, NULL, NULL
};