Move all attributes and other information that is attached to a token into a

structure named Token.


git-svn-id: svn://svn.cc65.org/cc65/trunk@4910 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-01-16 16:05:43 +00:00
parent dbfae85f54
commit ddb7296b6c
23 changed files with 526 additions and 496 deletions

View File

@@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 1998-2008 Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 1998-2011, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@@ -94,7 +94,7 @@ void Warning (unsigned Level, const char* Format, ...)
{
va_list ap;
va_start (ap, Format);
WarningMsg (&CurPos, Level, Format, ap);
WarningMsg (&CurTok.Pos, Level, Format, ap);
va_end (ap);
}
@@ -140,7 +140,7 @@ void Error (const char* Format, ...)
{
va_list ap;
va_start (ap, Format);
ErrorMsg (&CurPos, Format, ap);
ErrorMsg (&CurTok.Pos, Format, ap);
va_end (ap);
}
@@ -162,7 +162,7 @@ void ErrorSkip (const char* Format, ...)
{
va_list ap;
va_start (ap, Format);
ErrorMsg (&CurPos, Format, ap);
ErrorMsg (&CurTok.Pos, Format, ap);
va_end (ap);
SkipUntilSep ();