Skip to content

Commit

Permalink
Try to fix test on Allegro
Browse files Browse the repository at this point in the history
  • Loading branch information
iamFIREcracker committed Jan 13, 2024
1 parent bccba08 commit eed9ed3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions syntax.lisp
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
(in-package :aoc)

;; If we don't copy the system readtable first, Allregro will fail with
;; the following error:
;;
;; Attempt to set macro in system readtable #<readtable @ #x20115b5a>;
;; copy readtable first.
(setq *readtable* (copy-readtable))

(eval-when (:compile-toplevel :load-toplevel :execute)
(defun opening-braket-reader (stream char)
(declare (ignore char))
Expand Down

0 comments on commit eed9ed3

Please sign in to comment.