shithub: rgbds

Download patch

ref: 2a3cd65ee879773d6753be5023b54302efa84762
parent: 5f23215c5dae7fc08e8c8c625bec5317a501b753
author: bentley <[email protected]>
date: Mon Jan 18 15:41:34 EST 2010

rgbasm: improve "undefined macro" error message

--- a/src/asm/yaccprt3.y
+++ b/src/asm/yaccprt3.y
@@ -47,6 +47,7 @@
 
 						if( !fstk_RunMacro($1) )
 						{
+							fprintf(stderr, "Macro '%s' not defined", $1);
 							yyerror( "No such macro" );
 						}
 					}