Skip to content

Commit

Permalink
Merge pull request #59 from carocad/single-discard
Browse files Browse the repository at this point in the history
fix: prevent ambiguity by allowing a single nested discard inside another
  • Loading branch information
carocad committed Dec 10, 2019
2 parents 37aed92 + f7de815 commit cd0c959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project.clj
@@ -1,4 +1,4 @@
(defproject carocad/parcera "0.9.0"
(defproject carocad/parcera "0.9.1"
:description "Grammar-based Clojure reader"
:url "https://github.com/carocad/parcera"
:license {:name "LGPLv3"
Expand Down
2 changes: 1 addition & 1 deletion src/Clojure.g4
Expand Up @@ -117,7 +117,7 @@ auto_resolve: '::';

var_quote: '#\'' whitespace? form;

discard: '#_' (whitespace? discard)* whitespace? form;
discard: '#_' (whitespace? discard)? whitespace? form;

tag: '#' symbol whitespace? (literal | collection | tag);

Expand Down

0 comments on commit cd0c959

Please sign in to comment.