(cos_release_symbol): Add check for builtin symbols.
[chise/concord.git] / ChangeLog
index 24ded0b..5b6b3f3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,51 @@
+2013-04-18  MORIOKA Tomohiko  <tomo.git@chise.org>
+
+       * symbol.c (cos_retain_symbol): Don't use `cos_retain_object'
+       recursively.
+       (cos_symbol_p): New function.
+       (cos_symbol_table_intern): Check type of each entry of the hash;
+       use `cos_retain_object' for the returned symbol.
+       (cos_print_symbol_table): New function.
+
+       * cos.c (cos_char_id): Fixed.
+       (cos_release_object): Fixed.
+       (cos_retain_cons): Don't use `cos_retain_object' recursively.
+       (cos_assoc): New function.
+       (cos_alist_get): New function.
+
+2013-04-18  MORIOKA Tomohiko  <tomo.git@chise.org>
+
+       * read.c (is_delimiter): New function.
+       (cos_read_int): Use `is_delimiter'.
+       (cos_read_string): Fixed.
+       (cos_read_symbol): New function.
+       (cos_read_object): Use `cos_read_symbol' to support symbol.
+
+       * cos.h (cos_symbol_p): New prototype.
+       (cos_assoc): New prototype.
+       (cos_alist_get): New prototype.
+
+       * cos-read.h (cos_read_symbol): New prototype.
+
+2013-04-17  MORIOKA Tomohiko  <tomo.git@chise.org>
+
+       * read.c (cos_skip_space): New function.
+       (cos_read_int): Fix to support separator.
+       (cos_read_list0): New function.
+       (cos_read_list): New function.
+       (cos_read_object): New function.
+
+       * print.c (cos_print_object): Fix duplicated `?' when printing a
+       character.
+
+       * cos.h (cos_cons_p): New prototype.
+
+       * cos.c (cos_cons_p): New function.
+       (concord_object_get_feature_value): Use `cos_read_object'.
+
+       * cos-read.h (cos_read_list): New prototype.
+       (cos_read_object): New prototype.
+
 2013-04-16  MORIOKA Tomohiko  <tomo.git@chise.org>
 
        * symbol.c (cos_make_symbol): Use `cos_retain_object' for