Emit warnings for symbols that were used suboptimal because of forward
definitions. For example a zero page symbol that is used as absolute because it was undefined when encountered. git-svn-id: svn://svn.cc65.org/cc65/trunk@3724 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* */
|
||||
/* */
|
||||
/* */
|
||||
/* (C) 1998-2003 Ullrich von Bassewitz */
|
||||
/* (C) 1998-2006 Ullrich von Bassewitz */
|
||||
/* R<>merstra<72>e 52 */
|
||||
/* D-70794 Filderstadt */
|
||||
/* EMail: uz@cc65.org */
|
||||
@@ -137,6 +137,15 @@ ExprNode* CloneExpr (ExprNode* Expr);
|
||||
void WriteExpr (ExprNode* Expr);
|
||||
/* Write the given expression to the object file */
|
||||
|
||||
void ExprGuessedAddrSize (const ExprNode* Expr, unsigned char AddrSize);
|
||||
/* Mark the address size of the given expression tree as guessed. The address
|
||||
* size passed as argument is the one NOT used, because the actual address
|
||||
* size wasn't known. Example: Zero page addressing was not used because symbol
|
||||
* is undefined, and absolute addressing was available.
|
||||
* This function will actually parse the expression tree for undefined symbols,
|
||||
* and mark these symbols accordingly.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
/* End of expr.h */
|
||||
|
||||
Reference in New Issue
Block a user