Create separate line infos for macros and .repeat statements and other token
lists. These are also output as diagnostic in case of an error. git-svn-id: svn://svn.cc65.org/cc65/trunk@4951 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
/*****************************************************************************/
|
||||
/* Data */
|
||||
/*****************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
/* Struct holding a token */
|
||||
@@ -95,8 +95,10 @@ TokNode* NewTokNode (void);
|
||||
void FreeTokNode (TokNode* N);
|
||||
/* Free the given token node */
|
||||
|
||||
void TokSet (TokNode* N);
|
||||
/* Set the scanner token from the given token node */
|
||||
void TokSet (TokNode* N, unsigned LineInfoSlot);
|
||||
/* Set the scanner token from the given token node. The given line info slot
|
||||
* is used to store the position of the token fed into the scanner.
|
||||
*/
|
||||
|
||||
enum TC TokCmp (const TokNode* N);
|
||||
/* Compare the token given as parameter against the current token */
|
||||
|
||||
Reference in New Issue
Block a user