handle traditional nags in lexer