[hackers] [scc] Remove parenthesed expressions from primary() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Fri, 14 Aug 2015 19:03:56 +0200 (CEST)

commit f71c7191e4e1498955910bf1db4525343eaeb073
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Aug 14 18:42:48 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Aug 14 18:42:48 2015 +0200

    Remove parenthesed expressions from primary()
    
    This job is done in cast() now.

diff --git a/cc1/expr.c b/cc1/expr.c
index 93fea6c..ee23eb2 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -725,11 +725,6 @@ primary(void)
                 np = varnode(yylval.sym);
                 next();
                 break;
- case '(':
- next();
- np = expr();
- expect(')');
- break;
         default:
                 unexpected();
         }
Received on Fri Aug 14 2015 - 19:03:56 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 14 2015 - 19:12:11 CEST