]> git.sur5r.net Git - cc65/commitdiff
Octal character constants starting with '2' or '3' did not work.
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 27 Jun 2003 08:10:08 +0000 (08:10 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 27 Jun 2003 08:10:08 +0000 (08:10 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2225 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/scanner.c

index 05ba134ee2b4c9247ae70fb655a891029a209522..941fb75192a1947019ac07199255cc024ee45f59 100644 (file)
@@ -283,6 +283,8 @@ static int ParseChar (void)
                break;
            case '0':
            case '1':
+           case '2':
+           case '3':
                /* Octal constant */
                i = 0;
                C = CurC - '0';