This is PR32091,
it has next script which we failed to parse.
GLIBCXX_3.4 {
    extern "C++" {
...
        std::set_new_handler*;
        std::set_terminate*;
        std::set_unexpected*;
        std::type_info::__*;
    }
}Patch changes logic to not treat ":" as separate token to fix issue.
I think you can do that without defining peekLabel. You should remove the first two lines from readLocals().