]> git.sur5r.net Git - cc65/blobdiff - src/ca65/expr.h
Fixed _textcolor definition.
[cc65] / src / ca65 / expr.h
index 0105bb68ff1c859f32fe17db5242b02f779d3f5b..03c2c26d857d51ee274b767c8ff4a7c299a500dc 100644 (file)
@@ -62,14 +62,14 @@ struct ExprDesc;
 
 ExprNode* Expression (void);
 /* Evaluate an expression, build the expression tree on the heap and return
- * a pointer to the root of the tree.
- */
+** a pointer to the root of the tree.
+*/
 
 long ConstExpression (void);
 /* Parse an expression. Check if the expression is const, and print an error
- * message if not. Return the value of the expression, or a dummy, if it is
- * not constant.
- */
+** message if not. Return the value of the expression, or a dummy, if it is
+** not constant.
+*/
 
 void FreeExpr (ExprNode* Root);
 /* Free the expression tree, Root is pointing to. */
@@ -97,8 +97,8 @@ ExprNode* GenSwapExpr (ExprNode* Expr);
 
 ExprNode* GenBranchExpr (unsigned Offs);
 /* Return an expression that encodes the difference between current PC plus
- * offset and the target expression (that is, Expression() - (*+Offs) ).
- */
+** offset and the target expression (that is, Expression() - (*+Offs) ).
+*/
 
 ExprNode* GenULabelExpr (unsigned Num);
 /* Return an expression for an unnamed label with the given index */
@@ -120,9 +120,9 @@ ExprNode* GenNE (ExprNode* Expr, long Val);
 
 int IsConstExpr (ExprNode* Expr, long* Val);
 /* Return true if the given expression is a constant expression, that is, one
- * with no references to external symbols. If Val is not NULL and the
- * expression is constant, the constant value is stored here.
- */
+** with no references to external symbols. If Val is not NULL and the
+** expression is constant, the constant value is stored here.
+*/
 
 int IsByteExpr (ExprNode* Root);
 /* Return true if this is a byte expression */
@@ -138,26 +138,26 @@ int IsFarRange (long Val);
 
 int IsEasyConst (const ExprNode* E, long* Val);
 /* Do some light checking if the given node is a constant. Don't care if E is
- * a complex expression. If E is a constant, return true and place its value
- * into Val, provided that Val is not NULL.
- */
+** a complex expression. If E is a constant, return true and place its value
+** into Val, provided that Val is not NULL.
+*/
 
 ExprNode* CloneExpr (ExprNode* Expr);
 /* Clone the given expression tree. The function will simply clone symbol
- * nodes, it will not resolve them.
- */
+** nodes, it will not resolve them.
+*/
 
 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.
- */
+** 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.
+*/
 
 ExprNode* FuncBankByte (void);
 /* Handle the .BANKBYTE builtin function */