LR Techniques for Handling Syntax Errors