shithub: scc

Download patch

ref: e8eef01cc0830c227e5e55788f90e2dc52c64116
parent: 4936352376156baa10674dbf8887932189670959
author: Roberto E. Vargas Caballero <[email protected]>
date: Wed Apr 23 12:08:43 EDT 2014

Add \? escape sequence

This sequence is needed in order to escape some sequences
that could be interpreted as trigraphs.

--- a/lex.c
+++ b/lex.c
@@ -121,6 +121,7 @@
 	case 'v': c = '\v'; break;
 	case '\'': c = '\\'; break;
 	case '"': c ='"'; break;
+	case '?': c = '?'; break;
 	case 'x': /* TODO: */
 	case '0': /* TODO: */
 	case 'u': /* TODO: */