summaryrefslogtreecommitdiff
path: root/limbo
diff options
context:
space:
mode:
Diffstat (limited to 'limbo')
-rw-r--r--limbo/typecheck.c14
-rw-r--r--limbo/types.c4
2 files changed, 3 insertions, 15 deletions
diff --git a/limbo/typecheck.c b/limbo/typecheck.c
index 08bfef16..8f1e2bb3 100644
--- a/limbo/typecheck.c
+++ b/limbo/typecheck.c
@@ -1812,18 +1812,6 @@ n->ty->decl->refs++;
return ok;
}
break;
-/*
- if(mathchk(n, 0)){
- if(n->ty != tint){
- nerror(n, "exponentiation operands not int");
- ok.ok = ok.allok = 0;
- return ok;
- }
- break;
- }
- ok.ok = ok.allok = 0;
- return ok;
-*/
case Olsh:
case Orsh:
if(shiftchk(n))
@@ -2590,7 +2578,7 @@ mkvarargs(Node *n, Node *args)
}
/*
- * check that a print style format string matches it's arguments
+ * check that a print style format string matches its arguments
*/
void
fmtcheck(Node *f, Node *fmtarg, Node *va)
diff --git a/limbo/types.c b/limbo/types.c
index 42b14289..6d231115 100644
--- a/limbo/types.c
+++ b/limbo/types.c
@@ -676,7 +676,7 @@ adtdefd(Type *t)
/*
* assemble the data structure for an adt with a pick clause.
* since the scoping rules for adt pick fields are strange,
- * we have a cutomized check for overlapping defitions.
+ * we have a customized check for overlapping definitions.
*/
Decl*
pickdefd(Type *t, Decl *tg)
@@ -4289,7 +4289,7 @@ mkextype(Type *t)
}
/*
- * convert an instantiated exception type to it's underlying type
+ * convert an instantiated exception type to its underlying type
*/
Type*
mkextuptype(Type *t)