shithub: riscv

Download patch

ref: 3145ca7d786344f1ec91aeb48a3c7d1ad7e57e5e
parent: 26e00d014cebde8bc07725700b5ac9c0cade8171
author: spew <devnull@localhost>
date: Wed Oct 19 18:15:51 EDT 2016

mpc: remove unused yylval type

--- a/sys/src/cmd/mpc.y
+++ b/sys/src/cmd/mpc.y
@@ -64,7 +64,6 @@
 {
 	Sym*	sval;
 	Node*	node;
-	long	lval;
 }
 
 %type	<node>	name num args expr bool block elif stmnt stmnts
@@ -80,7 +79,7 @@
 %left	'^'
 %right	'('
 
-%token	<lval>	MOD IF ELSE WHILE BREAK 
+%token	MOD IF ELSE WHILE BREAK 
 %token	<sval>	NAME NUM
 
 %%