Pointer checking in parses.cpp