scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit e8eef01cc0830c227e5e55788f90e2dc52c64116
parent 4936352376156baa10674dbf8887932189670959
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 23 Apr 2014 16:08:43 +0200

Add \? escape sequence

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

Diffstat:
lex.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

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