shithub: rgbds

Download patch

ref: 9e99db9a8e2071113da1f54695476c10d26c0221
parent: 5fd38c5f6771cf7c79daee0f464b3cd4d601501e
author: ISSOtm <[email protected]>
date: Mon Feb 17 08:52:38 EST 2020

Allow `\r` in strings

Fixes #484

--- a/src/asm/lexer.c
+++ b/src/asm/lexer.c
@@ -734,6 +734,9 @@
 			case 'n':
 				ch = '\n';
 				break;
+			case 'r':
+				ch = '\r';
+				break;
 			case 't':
 				ch = '\t';
 				break;