Move more stuff from scanner.c into the new module token.c.

git-svn-id: svn://svn.cc65.org/cc65/trunk@3801 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2007-08-28 21:14:21 +00:00
parent aa4df9f98b
commit 3894b074a6
11 changed files with 138 additions and 83 deletions

View File

@@ -6,8 +6,8 @@
/* */
/* */
/* */
/* (C) 1998-2004 Ullrich von Bassewitz */
/* R<EFBFBD>merstra<EFBFBD>e 52 */
/* (C) 1998-2007 Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
@@ -662,7 +662,7 @@ static void StartExpClassic (Macro* M)
/* Start expanding the classic macro M */
{
MacExp* E;
enum Token Term;
Token Term;
/* Skip the macro name */
@@ -764,7 +764,7 @@ static void StartExpDefine (Macro* M)
TokNode* Last;
/* The macro may optionally be enclosed in curly braces */
enum Token Term = GetTokListTerm (TOK_COMMA);
Token Term = GetTokListTerm (TOK_COMMA);
/* Check if there is really a parameter */
if (TokIsSep (Tok) || Tok == Term) {