added break statements into last two cases in PyScanner.cpp