shithub: rgbds

Download patch

ref: 77546e9c58436a23ebc0d4489af114592ca41390
parent: 540f8597d49f32f3a836d7842b6f99782397331c
author: Antonio Niño Díaz <[email protected]>
date: Sat Apr 8 14:09:02 EDT 2017

Make WARN output a warning instead of an error

This is the expected behaviour.

Signed-off-by: Antonio Niño Díaz <[email protected]>

--- a/src/asm/asmy.y
+++ b/src/asm/asmy.y
@@ -681,7 +681,7 @@
 	};
 
 warn : T_POP_WARN string {
-		yyerror("%s", $2);
+		warning("%s", $2);
 	};
 
 shift			:	T_POP_SHIFT