ref: 555799dbfd11dc0a2edaa53b78100d1eeea6ff06
parent: 24e4c23a889d9e7cc60e5da2bc9df0ec0f8ab04b
author: Ori Bernstein <[email protected]>
date: Tue Dec 15 18:08:11 EST 2015
Fix typo. OTmisc should have been 3 lines down.
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -157,10 +157,10 @@
case OTpre: bprintf(buf, sizeof buf, "%s<e%s>", t1, oppretty[exprop(n)]); break;
case OTpost: bprintf(buf, sizeof buf, "<e:%s>%s", t1, oppretty[exprop(n)]); break;
case OTzarg: bprintf(buf, sizeof buf, "%s", oppretty[exprop(n)]); break;
- case OTmisc:
case OTbin:
bprintf(buf, sizeof buf, "<e1:%s> %s <e2:%s>", t1, oppretty[exprop(n)], t2);
break;
+ case OTmisc:
switch (exprop(n)) {
case Ovar: bprintf(buf, sizeof buf, "%s:%s", namestr(args[0]), t); break;
case Ocall: ctxstrcall(buf, sizeof buf, st, n); break;