summaryrefslogtreecommitdiff
path: root/limbo/typecheck.c
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/typecheck.c
parent1b078c23175db54397bc01f26f2456b729db9c4b (diff)
20100402-2048
Diffstat (limited to 'limbo/typecheck.c')
-rw-r--r--limbo/typecheck.c14
1 files changed, 1 insertions, 13 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)