Might not be a bug. I think the ; is treated like a new line rather than the old BASIC : character, so that what you've really got is more like:
x=x+1
IF x>100 THEN x=0
y=y+1
That makes more readable sense. I guess you must use IF ... ENDIF and that is more readable anyway.