Skip to content

Commit

Permalink
Merge branch 'main' into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelballantyne committed Jan 14, 2024
2 parents 195cfa7 + 8e1304a commit 8a9dda3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/errors.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,11 @@
;; TODO: I should generate syntax classes corresponding to non-terminals
;; to improve errors like this. Ideally the message would be
;; "dsl-begin: expected more terms starting with dslexpr1"
#rx"dsl-begin: expected more terms starting with any term"
;;
;; Note: more recent versions of Racket just say "expected more terms";
;; earlier versions said "expected more terms starting with any term";
;; this test should work for both.
#rx"dsl-begin: expected more terms"
(dsl-expr1 (dsl-begin)))

;; No terms in ...+ position in syntax
Expand Down

0 comments on commit 8a9dda3

Please sign in to comment.