From 6766f4a2c17ef38c464b680e7ca7a9b6a2aafe34 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 27 Jun 2003 08:10:08 +0000 Subject: [PATCH] Octal character constants starting with '2' or '3' did not work. git-svn-id: svn://svn.cc65.org/cc65/trunk@2225 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/cc65/scanner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cc65/scanner.c b/src/cc65/scanner.c index 05ba134ee..941fb7519 100644 --- a/src/cc65/scanner.c +++ b/src/cc65/scanner.c @@ -283,6 +283,8 @@ static int ParseChar (void) break; case '0': case '1': + case '2': + case '3': /* Octal constant */ i = 0; C = CurC - '0'; -- 2.39.5