while this is definitely Syntactical error, it's not because of 'fro'. While parsing, it may consider this as a function call until the parser realizes that there is a semicolon separating the argument and not comma. Thus it throws an error.
Please correct me if my understanding is wrong.