Browse Source

Prevent build failure on modern Bisons (which are more picky than the old yacc this was written for).

dtrg 13 years ago
parent
commit
bbdd256739
1 changed files with 1 additions and 1 deletions
  1. 1 1
      util/cgg/bootgram.y

+ 1 - 1
util/cgg/bootgram.y

@@ -490,7 +490,7 @@ optstack
 	;
 
 code    :
-		{ $$ = codebytes; cchandled=ccspoiled=0; }
+		{ $<yy_int>$ = codebytes; cchandled=ccspoiled=0; }
 	  initcode restcode
 		{ if (cchandled==0 && ccspoiled!=0) {
 			outbyte(DO_ERASE);