diff options
author | Dodji <dodji@gnome.org> | 2004-03-06 22:49:56 +0000 |
---|---|---|
committer | Dodji Seketeli <dodji@src.gnome.org> | 2004-03-06 22:49:56 +0000 |
commit | 9fd0686e5a84f3c62e3a3ce4c11777e4f2050cb7 (patch) | |
tree | 95ec9181b898929edb2f561ac6e71a000b9a21a6 /src/cr-term.c | |
parent | 406526f52125bbf6dbf95eee6f01655544a70b24 (diff) | |
download | libcroco-9fd0686e5a84f3c62e3a3ce4c11777e4f2050cb7.tar.gz |
when you reach an EOF, don't assume it's an error. Return the already
2004-03-06 Dodji <dodji@gnome.org>
* src/cr-tknzr.c:
(cr_tknzr_parse_num): when you reach an EOF, don't assume it's
an error. Return the already parsed part of the number.
Next attempt of parsing will result in an
* tests/test4-main.c: udpated this test the fix made above.
CR_END_OF_INPUT_ERROR.
Diffstat (limited to 'src/cr-term.c')
-rw-r--r-- | src/cr-term.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cr-term.c b/src/cr-term.c index 6f5ae9f..7bfab93 100644 --- a/src/cr-term.c +++ b/src/cr-term.c @@ -131,7 +131,6 @@ cr_term_parse_expression_from_buf (const guchar *a_buf, { goto cleanup ; } - status = cr_parser_parse_expr (parser, &result) ; if (status != CR_OK) { |