e3de65a258
Previously input such as "x > y" would result in the following token sequences: T_IDENT, T_CHILD, T_IDENT This commit changes this to the following: T_IDENT, T_SPACE, T_CHILD, T_IDENT This allows the parser to use T_SPACE as a terminal token, this in turn prevents around 16 shift/reduce conflicts from arising. This does mean that input such as " > y" or " x > y" is now invalid. This however can be solved by simply _not_ adding leading/trailing whitespace to CSS queries. |
||
---|---|---|
.. | ||
oga | ||
support | ||
spec_helper.rb |