]> git.sur5r.net Git - cc65/commitdiff
Added missing 'simple escape sequences'
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 2 Mar 2004 19:42:19 +0000 (19:42 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 2 Mar 2004 19:42:19 +0000 (19:42 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2894 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/scanner.c

index a0ff4530497c3a5563c54fe9b6426f17f6c731e3..73ce35aed1db9887338b47ef4d4b3a0aacda35fe 100644 (file)
@@ -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;