From: cuz Date: Tue, 2 Mar 2004 19:42:19 +0000 (+0000) Subject: Added missing 'simple escape sequences' X-Git-Tag: V2.12.0~927 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=04ccfdd660e082308cc497f0edc5b3de3d33f79e;p=cc65 Added missing 'simple escape sequences' git-svn-id: svn://svn.cc65.org/cc65/trunk@2894 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/scanner.c b/src/cc65/scanner.c index a0ff45304..73ce35aed 100644 --- a/src/cc65/scanner.c +++ b/src/cc65/scanner.c @@ -251,6 +251,12 @@ static int ParseChar (void) if (CurC == '\\') { NextChar (); switch (CurC) { + case '?': + C = '\?'; + break; + case 'a': + C = '\a'; + break; case 'b': C = '\b'; break;