summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@seketeli.org>2003-06-20 22:08:53 +0000
committerDodji Seketeli <dodji@src.gnome.org>2003-06-20 22:08:53 +0000
commit7c01b64f75deca6b18df2e3930144be4128b3e98 (patch)
tree52b1569a2c25c2a57dfa14f9b84bc851db31042a /tests
parenta3fc5bcd8c60ade057d7569932fb4c189484dd4f (diff)
downloadlibcroco-7c01b64f75deca6b18df2e3930144be4128b3e98.tar.gz
added the cr_term_parse_expression_from_buf() function. this is new and
2003-06-20 Dodji Seketeli <dodji@seketeli.org> * src/parser/cr-term.[ch]: added the cr_term_parse_expression_from_buf() function. this is new and still needs to be tested. * src/parser/cr-parser.[hc]: made cr_parser_parse_expr() public. * src/parser/cr-declaration.[ch]: changed cr_declaration_parse() into cr_declaration_parse_parse_from_buf(). Dodji.
Diffstat (limited to 'tests')
-rw-r--r--tests/test4-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test4-main.c b/tests/test4-main.c
index 4dc7ca4..3733ad5 100644
--- a/tests/test4-main.c
+++ b/tests/test4-main.c
@@ -152,8 +152,8 @@ test_cr_declaration_parse (void)
guchar * tmp_str = NULL ;
CRDeclaration * decl = NULL ;
- decl = cr_declaration_parse (NULL, gv_decl_buf,
- CR_UTF_8) ;
+ decl = cr_declaration_parse_from_buf (NULL, gv_decl_buf,
+ CR_UTF_8) ;
tmp_str = cr_declaration_to_string (decl, 2) ;
if (decl)