*** empty log message ***

original commit: 972bfc40f3586c1b8ba72d7455578a958577c748
tokens
Scott Owens 21 years ago
parent c8ffdb88cc
commit 578ee09436

@ -97,5 +97,6 @@
(dfa (build-dfa re-acts cache))) (dfa (build-dfa re-acts cache)))
;(print-dfa dfa) ;(print-dfa dfa)
;(printf "states: ~a~n" (dfa-num-states dfa))
(dfa->table dfa))) (dfa->table dfa)))
) )

@ -5,7 +5,7 @@
(define-struct lex-abbrev (abbrev)) (define-struct lex-abbrev (abbrev))
(define-syntax test-block #;(define-syntax test-block
(syntax-rules () (syntax-rules ()
((_ defs (code right-ans) ...) ((_ defs (code right-ans) ...)
(let* defs (let* defs
@ -14,7 +14,7 @@
(printf "Test failed: ~e gave ~e. Expected ~e~n" (printf "Test failed: ~e gave ~e. Expected ~e~n"
'code real-ans 'right-ans))) ...)))) 'code real-ans 'right-ans))) ...))))
#;(define-syntax test-block (define-syntax test-block
(syntax-rules () (syntax-rules ()
((_ x ...) (void)))) ((_ x ...) (void))))
@ -378,4 +378,4 @@
(else (else
(char-for-each-acc f (caar cs) (cdar cs) (cdr cs))))) (char-for-each-acc f (caar cs) (cdar cs) (cdr cs)))))
) )

Loading…
Cancel
Save