From 04ccfdd660e082308cc497f0edc5b3de3d33f79e Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 2 Mar 2004 19:42:19 +0000 Subject: [PATCH] Added missing 'simple escape sequences' git-svn-id: svn://svn.cc65.org/cc65/trunk@2894 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/scanner.c | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.39.5