shithub: scc

Download patch

ref: e06ce64d6557512a21c46a2dfa864f2e9a08f70b
parent: 7d06d1d348ce9fb9dc585d81f146e12193be85e4
author: Hiltjo Posthuma <hiltjo@codemadness.org>
date: Tue Jul 5 18:12:59 EDT 2022

cc1: Add support for the escape sequence \b

--- a/src/cmd/cc/cc1/lex.c
+++ b/src/cmd/cc/cc1/lex.c
@@ -494,6 +494,8 @@
 	switch (*++input->p) {
 	case 'a':
 		return '\a';
+	case 'b':
+		return '\b';
 	case 'f':
 		return '\f';
 	case 'n':