Skip to content

Commit

Permalink
environment: fix 'define command-line' macro (#1548)
Browse files Browse the repository at this point in the history
Remove a form of the macro that isn't used and expands to code that
wouldn't work because `define command-line-class` doesn't exist.
  • Loading branch information
cgay authored Feb 2, 2024
2 parents 87533c5 + 20354be commit 8461dfb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions sources/environment/commands/command-line.dylan
Original file line number Diff line number Diff line change
Expand Up @@ -816,14 +816,6 @@ define method command-line-loop
end method command-line-loop;

define macro command-line-definer
{ define command-line ?name:name (?options:*)
?parameters:*
end }
=> { define command-line-class ?name (?options) ?parameters end;
define command-line-constant ?name => "<" ## ?name ## "-command>" (?options)
?parameters
end }

{ define command-line ?name:name => ?command:name (?options:*)
?parameters:*
end }
Expand Down

0 comments on commit 8461dfb

Please sign in to comment.