*** empty log message ***

original commit: 275c51b82d09294bdb30bf026274e0ac8ab67eba
tokens
Scott Owens 20 years ago
parent a027d5cf66
commit e071fd3412

@ -97,7 +97,7 @@
(let-values (((trans start action-names no-look disappeared-uses)
(build-lexer re-actname-lst)))
(when (vector-ref action-names start)
(raise-syntax-error #f "accepts the empty string" stx))
(printf "Warning: lexer might accept the empty string ~a.~n" stx))
(with-syntax ((start-state-stx start)
(trans-table-stx trans)
(no-lookahead-stx no-look)

@ -44,12 +44,12 @@
entry
entry)
entry))))
char-ranges)))
all-chars/to))
(lambda (a b)
(< (vector-ref a 0) (vector-ref b 0))))))
(vector-set! state-table from-state (list->vector flat-all-chars/to))))
(dfa-transitions dfa))
char-ranges)))
all-chars/to))
(lambda (a b)
(< (vector-ref a 0) (vector-ref b 0))))))
(vector-set! state-table from-state (list->vector flat-all-chars/to))))
(dfa-transitions dfa))
state-table))

Loading…
Cancel
Save