summaryrefslogtreecommitdiff
path: root/limbo
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2010-04-02 20:48:59 +0100
committerforsyth <forsyth@vitanuova.com>2010-04-02 20:48:59 +0100
commitf94b359d339cfcefb3725fe7c0e78211443815b4 (patch)
tree4aa4684087ca68a91457ba0d3c633cada5c76fb9 /limbo
parent1b078c23175db54397bc01f26f2456b729db9c4b (diff)
20100402-2048
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)