]> git.sur5r.net Git - cc65/blobdiff - src/cc65/expr.h
Fixed two compiler warnings.
[cc65] / src / cc65 / expr.h
index ef57629399b461ea5d3ab741763365d40ef0174e..c98074356ef7ba55cc4c693417f6d090904e2eb4 100644 (file)
 
 
 
-void ExprWithCheck (void (*Func) (ExprDesc*), ExprDesc *Expr);
+void ExprWithCheck (void (*Func) (ExprDesc*), ExprDescExpr);
 /* Call an expression function with checks. */
 
+void MarkedExprWithCheck (void (*Func) (ExprDesc*), ExprDesc* Expr);
+/* Call an expression function with checks and record start and end of the
+ * generated code.
+ */
+
 void PushAddr (const ExprDesc* Expr);
 /* If the expression contains an address that was somehow evaluated,
  * push this address on the stack. This is a helper function for all
@@ -41,7 +46,7 @@ void Store (ExprDesc* Expr, const Type* StoreType);
 
 int evalexpr (unsigned flags, void (*Func) (ExprDesc*), ExprDesc* Expr);
 /* Will evaluate an expression via the given function. If the result is a
- * constant, 0 is returned and the value is put in the lval struct. If the
+ * constant, 0 is returned and the value is put in the Expr struct. If the
  * result is not constant, LoadExpr is called to bring the value into the
  * primary register and 1 is returned.
  */