]> git.sur5r.net Git - cc65/commitdiff
Partially fixed a bug with the long addressing modes that was introduced
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 19 Mar 2001 23:02:38 +0000 (23:02 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 19 Mar 2001 23:02:38 +0000 (23:02 +0000)
with a change in the scanner and went undetected since then. Use of symbols
as lower part of the address does still not work.

git-svn-id: svn://svn.cc65.org/cc65/trunk@632 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/scanner.c

index 0c5d753a3980b1ab2b59562acccfcb9ff8c25b41..c75ec69784cf3e2ae811c1d3fbf38583e5d52446 100644 (file)
@@ -706,9 +706,9 @@ Again:
        NextChar ();
 
        if (!IsIdStart (C)) {
-           Error (ERR_PSEUDO_EXPECTED);
-           /* Try to read an identifier */
-           goto Again;
+           /* Just a dot */
+           Tok = TOK_DOT;
+           return;
        }
 
        /* Read the identifier */