Checking syntax on pin iterator