Commit 3b50d211 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Fixed a few typos.

parent cb0f1a9c
...@@ -9,15 +9,10 @@ ...@@ -9,15 +9,10 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <limits.h> #include <assert.h>
#include <sys/types.h>
#include <neexe.h>
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "module.h"
#include "task.h" #include "task.h"
#include "selectors.h"
#include "debugger.h" #include "debugger.h"
#include "expr.h" #include "expr.h"
#include <stdarg.h> #include <stdarg.h>
...@@ -131,6 +126,8 @@ DEBUG_GetFreeExpr() ...@@ -131,6 +126,8 @@ DEBUG_GetFreeExpr()
rtn = (struct expr *) &expr_list[next_expr_free]; rtn = (struct expr *) &expr_list[next_expr_free];
next_expr_free += sizeof(struct expr); next_expr_free += sizeof(struct expr);
assert(next_expr_free < sizeof(expr_list));
return rtn; return rtn;
} }
...@@ -388,7 +385,7 @@ DEBUG_EvalExpr(struct expr * exp) ...@@ -388,7 +385,7 @@ DEBUG_EvalExpr(struct expr * exp)
{ {
fprintf(stderr, "Failed to find symbol\n"); fprintf(stderr, "Failed to find symbol\n");
break; break;
}; }
fptr = (int (*)()) rtn.off; fptr = (int (*)()) rtn.off;
switch(exp->un.call.nargs) switch(exp->un.call.nargs)
...@@ -606,7 +603,7 @@ DEBUG_EvalExpr(struct expr * exp) ...@@ -606,7 +603,7 @@ DEBUG_EvalExpr(struct expr * exp)
{ {
rtn.type = DEBUG_TypeInt; rtn.type = DEBUG_TypeInt;
} }
switch(exp->un.binop.binop_type) switch(exp->un.unop.unop_type)
{ {
case EXP_OP_NEG: case EXP_OP_NEG:
rtn.seg = 0; rtn.seg = 0;
...@@ -775,7 +772,7 @@ DEBUG_DisplayExpr(struct expr * exp) ...@@ -775,7 +772,7 @@ DEBUG_DisplayExpr(struct expr * exp)
fprintf(stderr, " )"); fprintf(stderr, " )");
break; break;
case EXPR_TYPE_UNOP: case EXPR_TYPE_UNOP:
switch(exp->un.binop.binop_type) switch(exp->un.unop.unop_type)
{ {
case EXP_OP_NEG: case EXP_OP_NEG:
fprintf(stderr, "-"); fprintf(stderr, "-");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment