cleaned up code a bit
This commit is contained in:
		| @ -181,6 +181,11 @@ next: | ||||
| 		if (outbfmt(hcl, mask, "%zd", HCL_OOP_TO_SMOOI(obj)) <= -1) return -1; | ||||
| 		goto done; | ||||
| 	} | ||||
| 	else if (HCL_OOP_IS_SMPTR(obj)) | ||||
| 	{ | ||||
| 		if (outbfmt(hcl, mask, "#\\p%zX", (hcl_oow_t)HCL_OOP_TO_SMPTR(obj)) <= -1) return -1; | ||||
| 		goto done; | ||||
| 	} | ||||
| 	else if (HCL_OOP_IS_CHAR(obj)) | ||||
| 	{ | ||||
| 		hcl_ooch_t ch = HCL_OOP_TO_CHAR(obj); | ||||
| @ -189,11 +194,6 @@ next: | ||||
| 		    outbfmt(hcl, mask, "\'") <= -1) return -1; | ||||
| 		goto done; | ||||
| 	} | ||||
| 	else if (HCL_OOP_IS_SMPTR(obj)) | ||||
| 	{ | ||||
| 		if (outbfmt(hcl, mask, "#\\p%zX", (hcl_oow_t)HCL_OOP_TO_SMPTR(obj)) <= -1) return -1; | ||||
| 		goto done; | ||||
| 	} | ||||
| 	else if (HCL_OOP_IS_ERROR(obj)) | ||||
| 	{ | ||||
| 		if (outbfmt(hcl, mask, "#\\e%zd", (hcl_ooi_t)HCL_OOP_TO_ERROR(obj)) <= -1) return -1; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user