s-expressionists / Eclector

A portable Common Lisp reader that is highly customizable, can recover from errors and can return concrete syntax trees
https://s-expressionists.github.io/Eclector/
BSD 2-Clause "Simplified" License
109 stars 9 forks source link

Empty escapes are not incorporated into number ID #71

Closed Bike closed 3 years ago

Bike commented 3 years ago

(eclector.reader:read-from-string "123||") => 123. According to CLHS 2.3.1.1.1 Escape Characters and Potential Numbers, this rather should return the symbol |123|. This corresponds to a failure in ansi-tests, read-symbol.19.