[Bug 377749] Complex Spec Files trigger parsing errors reading the spec file