From a1d3cd3d49f73dbf4903db7f6a1104c339215e98 Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 22 Feb 2016 12:46:22 -0500 Subject: [PATCH] Added support for \r in string literals. --- ssc/ast/nodes.literals.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ssc/ast/nodes.literals.cs b/ssc/ast/nodes.literals.cs index 6517482..f40ea95 100644 --- a/ssc/ast/nodes.literals.cs +++ b/ssc/ast/nodes.literals.cs @@ -100,6 +100,7 @@ namespace arookas { case 'b': sb.Append('\b'); break; case 'f': sb.Append('\f'); break; case 'n': sb.Append('\n'); break; + case 'r': sb.Append('\r'); break; case 't': sb.Append('\t'); break; case 'v': sb.Append('\v'); break; case 'x': sb.Append(UnescapeHex(value, j + 2, out i)); continue;