I think that after a parseInt() you will be able to read the next character to see if it is a ';'.
while (myFile.available()) {
int x,y,z;
bool y_present, z_present;
x = myFile.parseInt();
y_present = false;
z_present = false;
if (myFile.read() == ';') {
y_present = true;
y = myFile.parseInt();
if (myFile.read() == ';') {
z_present = true;
z = myFile.parseInt();
}
}