summaryrefslogtreecommitdiff
path: root/ccss/ccss-grammar.c
diff options
context:
space:
mode:
authorRobert Staudinger <robsta@gnome.org>2008-12-01 17:56:08 +0100
committerRobert Staudinger <robsta@gnome.org>2008-12-01 17:56:08 +0100
commitb9017f436b092db56228a0a2bc575a533adfc089 (patch)
tree18141769196a39be4e8b8897bc468194555855b6 /ccss/ccss-grammar.c
parent08c301fd22f6790b624b7d698dbc3a41b8c4f9f9 (diff)
* ccss/ccss-grammar-parse.c (ccss_grammar_parse_file),
(ccss_grammar_parse_buffer), (ccss_grammar_parse_inline): * ccss/ccss-grammar-priv.h: * ccss/ccss-grammar.c (ccss_grammar_create_stylesheet_from_buffer), (ccss_grammar_create_stylesheet_from_file): * ccss/ccss-stylesheet.c (ccss_stylesheet_add_from_file), (query_node): Improve internal naming consistency.
Diffstat (limited to 'ccss/ccss-grammar.c')
-rw-r--r--ccss/ccss-grammar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccss/ccss-grammar.c b/ccss/ccss-grammar.c
index 0a80d1f..986c456 100644
--- a/ccss/ccss-grammar.c
+++ b/ccss/ccss-grammar.c
@@ -173,7 +173,7 @@ ccss_grammar_create_stylesheet_from_buffer (ccss_grammar_t *self,
stylesheet = ccss_stylesheet_create ();
stylesheet->grammar = ccss_grammar_reference (self);
- ret = ccss_parser_parse_buffer (self, buffer, size,
+ ret = ccss_grammar_parse_buffer (self, buffer, size,
CCSS_STYLESHEET_AUTHOR,
stylesheet->groups, stylesheet->blocks);
@@ -203,7 +203,7 @@ ccss_grammar_create_stylesheet_from_file (ccss_grammar_t *self,
stylesheet = ccss_stylesheet_create ();
stylesheet->grammar = ccss_grammar_reference (self);
- ret = ccss_parser_parse_file (self, css_file, CCSS_STYLESHEET_AUTHOR,
+ ret = ccss_grammar_parse_file (self, css_file, CCSS_STYLESHEET_AUTHOR,
stylesheet->groups, stylesheet->blocks);
ccss_stylesheet_fix_dangling_selectors (stylesheet);