diff --git a/collects/parser-tools/lex.ss b/collects/parser-tools/lex.ss index d883ae6..feb969f 100644 --- a/collects/parser-tools/lex.ss +++ b/collects/parser-tools/lex.ss @@ -53,7 +53,7 @@ (trans-table-stx trans) (no-lookahead-stx no-look) (actions-stx `(vector ,@(map (lambda (a) - (wrap-action a 'lexeme #'here a)) + (if a (wrap-action a 'lexeme #'here a) #f)) (vector->list actions)))) (spec-act-stx (wrap-action spec-act 'special #'here spec-act))