Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add v6 pragma to parsers examples
  • Loading branch information
Paul Cochrane committed Aug 16, 2015
1 parent f93f916 commit 3d6051b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions categories/parsers/CSSGrammar.pm
@@ -1,5 +1,7 @@
# This should be doing CSS2.1; hopefully CSS3 when that's ready (but that may be a while)

use v6;

grammar CSSGrammar {
# builtin: ident (we use cssident), alpha

Expand Down
2 changes: 2 additions & 0 deletions categories/parsers/Newick.pm
@@ -1,3 +1,5 @@
use v6;

#| Newick tree format. L<https://en.wikipedia.org/wiki/Newick_format>
grammar Newick {
rule TOP { '(' <subtree>** 2..3 % \, ');' }
Expand Down

0 comments on commit 3d6051b

Please sign in to comment.