Skip to content

Commit

Permalink
handle {:derivation :top}
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoontz committed Aug 1, 2024
1 parent 6e7959c commit ed09860
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/menard/lexiconfn.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@
{:head-derivation (menard.lexiconfn/display-derivation head-derivation)}
(and (not (keyword? comp-derivation)) (seq comp-derivation))
{:comp-derivation (menard.lexiconfn/display-derivation comp-derivation)})
(when (seq exceptions)
{:exceptions (vec exceptions)}))))
(cond (keyword? exceptions)
{}
(seq exceptions)
{:exceptions (vec exceptions)}
:else {}))))
u/pprint)
:else lexeme)))

Expand Down

0 comments on commit ed09860

Please sign in to comment.