Editing a Library

That's not the code part which is responsible for the compiler errors, is it? Please post your changed Keypad library code.