Bug #33

Now the code detects errors reported by lexer. If any error occurs, it will return the original source code without any changes. If no error occurs, it will process the text the same way as before.