*** empty log message ***

original commit: b67c7fcd2c41d3395ed4df027ca304e17cf2606d
tokens
Scott Owens 20 years ago
parent 697cf326b4
commit a027d5cf66

@ -54,8 +54,6 @@
(define-for-syntax (make-lexer-trans src-pos?) (define-for-syntax (make-lexer-trans src-pos?)
(lambda (stx) (lambda (stx)
(syntax-case stx () (syntax-case stx ()
((_)
(raise-syntax-error #f "accepts the empty string" stx))
((_ re-act ...) ((_ re-act ...)
(begin (begin
(for-each (for-each
@ -98,7 +96,7 @@
name-lst))) name-lst)))
(let-values (((trans start action-names no-look disappeared-uses) (let-values (((trans start action-names no-look disappeared-uses)
(build-lexer re-actname-lst))) (build-lexer re-actname-lst)))
#;(when (vector-ref action-names start) (when (vector-ref action-names start)
(raise-syntax-error #f "accepts the empty string" stx)) (raise-syntax-error #f "accepts the empty string" stx))
(with-syntax ((start-state-stx start) (with-syntax ((start-state-stx start)
(trans-table-stx trans) (trans-table-stx trans)

Loading…
Cancel
Save