From: cuz Date: Mon, 19 Mar 2001 23:02:38 +0000 (+0000) Subject: Partially fixed a bug with the long addressing modes that was introduced X-Git-Tag: V2.12.0~2925 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=857a362e785a20ef030dfdc96c58335474e9cf17;p=cc65 Partially fixed a bug with the long addressing modes that was introduced 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 --- diff --git a/src/ca65/scanner.c b/src/ca65/scanner.c index 0c5d753a3..c75ec6978 100644 --- a/src/ca65/scanner.c +++ b/src/ca65/scanner.c @@ -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 */