shithub: scc

Download patch

ref: f71c7191e4e1498955910bf1db4525343eaeb073
parent: 83641b5afb00ef76a2b397a2591a705dd1488c7f
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Aug 14 14:42:48 EDT 2015

Remove parenthesed expressions from primary()

This job is done in cast() now.

--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -725,11 +725,6 @@
 		np = varnode(yylval.sym);
 		next();
 		break;
-	case '(':
-		next();
-		np = expr();
-		expect(')');
-		break;
 	default:
 		unexpected();
 	}