shithub: rgbds

Download patch

ref: e56c6cc2918003f404edfd7c8575c0ab343ba2da
parent: 4c9a929a14d76609c26c06eeac0371d531f670c8
author: ISSOtm <[email protected]>
date: Tue Jul 28 17:34:39 EDT 2020

Fix PC's name not being passed to parser

--- a/src/asm/lexer.c
+++ b/src/asm/lexer.c
@@ -1109,6 +1109,8 @@
 			return T_OP_NOT;
 
 		case '@':
+			yylval.tzSym[0] = '@';
+			yylval.tzSym[1] = '\0';
 			return T_ID;
 
 		/* Handle accepted single chars */