Fix Null Pointer Dereference.

parser->langTable should be Null checked before first dereference.
At first it is dereference in switch case.
Merge pull request #11 from ya1gaurav/patch-11

Fix Null Pointer Dereference.