Now you have to check the characters of each line...checking for things like if, while, do and then check the last printable character to see if it is ';'.
beejay321 commented: wrong comment, i did that and it messed it up, i did what i had originally and it was fine +0