Skip to content

Commit

Permalink
use '||' to indicate parsing preference
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarring committed Mar 27, 2013
1 parent 36c240e commit 3518ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/CSSGrammar.pm
Expand Up @@ -3,7 +3,7 @@
grammar CSSGrammar {
# builtin: ident (we use cssident), alpha

token TOP { ^ <import>* <css>* $ | <.panic: "CSS parsing failed"> };
token TOP { ^ <import>* <css>* $ || <.panic: "CSS parsing failed"> };
token css { <ruleset> | <media> | <page> };
# rule ruleset { <selector> ** ',' '{' <declaration> ** ';' '}' };
rule ruleset { <selector> [ ',' <selector> ]* <declarations> }
Expand Down

0 comments on commit 3518ada

Please sign in to comment.