Don't skip token after @'static

Fixes #8615.