forked from alex-eg/sex
test the writer on the C it writes
The walk-* tests pinned the forms handed to fmt-c, which were right while the C they became lost a const; spelled as C, they check what fmt-c makes of them too. The cases no source can reach, an atom no form holds and a name the reader takes for a negation, go.
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
;;; Codegen details that are easy to get subtly wrong, and that the
|
||||
;;; walk-* unit tests cannot see: they check the intermediate form we
|
||||
;;; hand to fmt-c, not the C that fmt-c renders from it.
|
||||
;;;
|
||||
;;; Both cases below were found by writing an OpenGL example, not by
|
||||
;;; the existing suite, because both need an operand shape that no
|
||||
;;; earlier test program happened to use.
|
||||
;;; Codegen details that are easy to get subtly wrong: precedence,
|
||||
;;; scopes, comments in odd places, and the shapes no earlier test
|
||||
;;; program happened to use.
|
||||
|
||||
(import srfi-13)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user