shithub: scc

Download patch

ref: d128d9dd0113d32df0ede231e1d945684b9fab29
parent: 6c673209747fbc604bb982a22953993055b75475
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Apr 3 02:49:11 EDT 2014

Fix declaration of empty qualifers pointers

A pointer without any qualifier was creating a abort in mktype due
we were passing an incorrect type operator.

--- a/types.c
+++ b/types.c
@@ -147,6 +147,8 @@
 {
 	uint8_t q = tp->op;
 
+	if (!qlf)
+		return tp;
 	if (q & TQUALIFIER) {
 		if (q == qlf)
 			return tp;