Remove unused error list field in scanner
Fix compiler bug, parser lang spec non-compliance, add parser test