Be sure errors are raised at by compile, not tokenize

Signed-off-by: Julien Danjou <julien@danjou.info>