Parser updated (syntactic errors handling) and tests added