Alts should be forms/seqs, single symbols, or strings
This commit is contained in:
parent
58bcdea6e8
commit
14da585072
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@
|
|||
(when alt
|
||||
{:expr expr
|
||||
:rule rule
|
||||
:alt (seq alt)
|
||||
:alt (if (or (string? alt)
|
||||
(not (sequential? alt)))
|
||||
alt
|
||||
(seq alt))
|
||||
:line (-> expr meta :line)})))
|
||||
|
||||
;; Loop over the rule set.
|
||||
|
|
Loading…
Reference in a new issue