Fixed a problem with {} enclosed token lists and implemented them for
.blank and .tcount. git-svn-id: svn://svn.cc65.org/cc65/trunk@3014 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -71,22 +71,15 @@ static TokList* CollectTokens (unsigned Start, unsigned Count)
|
||||
* return this token list.
|
||||
*/
|
||||
{
|
||||
enum Token Term;
|
||||
unsigned Current;
|
||||
|
||||
/* Create the token list */
|
||||
TokList* List = NewTokList ();
|
||||
|
||||
/* Determine if the list is enclosed in curly braces. */
|
||||
if (Tok == TOK_LCURLY) {
|
||||
NextTok ();
|
||||
Term = TOK_RCURLY;
|
||||
} else {
|
||||
Term = TOK_LCURLY;
|
||||
}
|
||||
enum Token Term = GetTokListTerm (TOK_RPAREN);
|
||||
|
||||
/* Read the token list */
|
||||
Current = 0;
|
||||
unsigned Current = 0;
|
||||
while (Tok != Term) {
|
||||
|
||||
/* Check for end of line or end of input */
|
||||
|
||||
Reference in New Issue
Block a user