lex() should not destroy argument

This fixes Issue #1