changeset 829:85f1a49396d1

descendent -> descendant (noticed by corvid)
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Wed, 28 Jan 2009 08:28:25 +0100
parents 17b50727731a
children ff6f4530c0f4
files src/css.cc src/css.hh src/cssparser.cc
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/css.cc	Tue Jan 27 18:34:41 2009 -0300
+++ b/src/css.cc	Wed Jan 28 08:28:25 2009 +0100
@@ -84,7 +84,7 @@
             if (!sel->match (node))
                return false;
             break;
-         case DESCENDENT:
+         case DESCENDANT:
             n = node;
 
             while (true) {
@@ -130,7 +130,7 @@
             case CHILD:
                fprintf (stderr, "> ");
                break;
-            case DESCENDENT:
+            case DESCENDANT:
                fprintf (stderr, "\" \" ");
                break;
             default:
--- a/src/css.hh	Tue Jan 27 18:34:41 2009 -0300
+++ b/src/css.hh	Wed Jan 28 08:28:25 2009 +0100
@@ -218,7 +218,7 @@
 class CssSelector {
    public:
       typedef enum {
-         DESCENDENT,
+         DESCENDANT,
          CHILD,
          ADJACENT_SIBLING,
       } Combinator;
--- a/src/cssparser.cc	Tue Jan 27 18:34:41 2009 -0300
+++ b/src/cssparser.cc	Wed Jan 28 08:28:25 2009 +0100
@@ -1067,7 +1067,7 @@
          selector->addSimpleSelector (CssSelector::CHILD);
          Css_next_token(parser);
       } else if (parser->ttype != CSS_TK_END && parser->space_separated) {
-         selector->addSimpleSelector (CssSelector::DESCENDENT);
+         selector->addSimpleSelector (CssSelector::DESCENDANT);
       } else {
          delete selector;
          selector = NULL;