summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@gnome.org>2004-02-13 23:08:08 +0000
committerDodji Seketeli <dodji@src.gnome.org>2004-02-13 23:08:08 +0000
commit7e0fccbf68db9dc79f502a2c5685718194404d60 (patch)
tree28e2ba954a92779300ca02072193edbe6b6c743b /ChangeLog
parent63f60598e030911846c399c3aab45e0cc8ee2993 (diff)
downloadlibcroco-7e0fccbf68db9dc79f502a2c5685718194404d60.tar.gz
when we encounter an EOF right after a ';' don't return an error. fix a
2004-02-13 Dodji Seketeli <dodji@gnome.org> * src/cr-declaration.c: (cr_declaration_parse_list_from_buf): when we encounter an EOF right after a ';' don't return an error. * src/cr-parser.c: (CHECK_PARSING_STATUS_ERR): fix a possibly nasty typo. (cr_parser_parse_property): when there is an error here, return the underlying error instead of returning just CR_PARSING_ERROR. (cr_parser_parse_declaration): when we encounter an EOF just at the beginning of parsing, return CR_END_OF_INPUT_ERROR instead of CR_PARSING_ERROR. More generaly, we should always return CR_END_OF_INPUT_ERROR when we encounter that error, and not return CR_PARSING_ERROR instead. tests/test4-main.c: (test_cr_declaration_parse_list): updated this to reflect catch trailing ';' at the end of declaration list.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e3d8645..f772e5d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2004-02-13 Dodji Seketeli <dodji@gnome.org>
+
+ * src/cr-declaration.c:
+ (cr_declaration_parse_list_from_buf): when we encounter an EOF
+ right after a ';' don't return an error.
+ * src/cr-parser.c:
+ (CHECK_PARSING_STATUS_ERR): fix a possibly nasty typo.
+ (cr_parser_parse_property): when there is an error here,
+ return the underlying error instead of returning just CR_PARSING_ERROR.
+ (cr_parser_parse_declaration): when we encounter an EOF just at
+ the beginning of parsing, return CR_END_OF_INPUT_ERROR instead
+ of CR_PARSING_ERROR. More generaly, we should always return
+ CR_END_OF_INPUT_ERROR when we encounter that error, and not return
+ CR_PARSING_ERROR instead.
+ tests/test4-main.c:
+ (test_cr_declaration_parse_list): updated this to reflect catch
+ trailing ';' at the end of declaration list.
+
2004-02-12 Dodji Seketeli <dodji@gnome.org>
* src/cr-declaration.[ch]: